Fix harmless unused variable warning in PostgreSQL test

Just don't name the exception variable.
This commit is contained in:
Vadim Zeitlin
2021-03-12 02:16:45 +01:00
parent 6b6a2b437b
commit ae5d5c4460

View File

@@ -1026,7 +1026,7 @@ private:
msession << "DROP FUNCTION IF EXISTS \"function_with:colon\"();";
msession << "DROP TYPE IF EXISTS \"type_with:colon\" ;";
}
catch (soci_error const& e){}
catch (soci_error const&){}
}
soci::session& msession;
};