This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Review at  https://gerrit.osmocom.org/4715
cosmetic: add comment on ignored return value
Coverity wants us to evaluate sqlite3_reset, but it is of no use to do so.
Related: coverity CID#178653
Change-Id: I64ac8c148f48be60f9c0d346df0c5152bb527494
---
M src/db.c
1 file changed, 3 insertions(+), 0 deletions(-)
  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/15/4715/1
diff --git a/src/db.c b/src/db.c
index 8733cf5..bcb67b1 100644
--- a/src/db.c
+++ b/src/db.c
@@ -99,6 +99,9 @@
 void db_remove_reset(sqlite3_stmt *stmt)
 {
 	sqlite3_clear_bindings(stmt);
+	/* coverity complains about ignoring the return value of
+	 * sqlite3_reset(), but it just repeats an error code already evaluated
+	 * during sqlite3_step(). */
 	sqlite3_reset(stmt);
 }
 
-- 
To view, visit https://gerrit.osmocom.org/4715
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I64ac8c148f48be60f9c0d346df0c5152bb527494
Gerrit-PatchSet: 1
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>