Skip to content

Commit 791a616

Browse files
committed
minor: fix windows unused var warning
1 parent 659f5e1 commit 791a616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/client/dbclient_rs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ namespace {
372372
try {
373373
conn->logout(i->first, response);
374374
}
375-
catch (const UserException& ex) {
375+
catch (const UserException&) {
376376
warning() << "Failed to logout: " << conn->getServerAddress() <<
377377
" on db: " << i->first << endl;
378378
}

0 commit comments

Comments
 (0)