Skip to content

Commit cff8eaf

Browse files
committed
CID-101931 (Coverity) fix unchecked return value
1 parent afeb4d5 commit cff8eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libmongoc/tests/test-mongoc-client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3057,7 +3057,7 @@ test_mongoc_handshake_pool (void)
30573057
mock_server_run (server);
30583058

30593059
uri = mongoc_uri_copy (mock_server_get_uri (server));
3060-
mongoc_uri_set_appname (uri, BSON_FUNC);
3060+
ASSERT (mongoc_uri_set_appname (uri, BSON_FUNC));
30613061

30623062
pool = mongoc_client_pool_new (uri);
30633063

0 commit comments

Comments
 (0)