Skip to content

Commit 0429b0a

Browse files
authored
Address scan-build warning: Value stored to ok is never read (#1162)
1 parent 766a8a3 commit 0429b0a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libmongoc/tests/test-mongoc-sample-commands.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,6 @@ test_example_60 (mongoc_database_t *db)
27922792

27932793
if (mongoc_cursor_error (cursor, &error)) {
27942794
MONGOC_ERROR ("could not get totalDailySales: %s", error.message);
2795-
ok = false;
27962795
goto cleanup;
27972796
}
27982797

0 commit comments

Comments
 (0)