From 0ce91ed8b478364a69502751d86bf5c5568a429c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 9 Oct 2022 02:19:14 +0200 Subject: [PATCH] Clean up Fsqlite_select slightly * src/sqlite.c (Fsqlite_select): Clean up code slightly. --- src/sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite.c b/src/sqlite.c index 9375b44da25..a46acf8523a 100644 --- a/src/sqlite.c +++ b/src/sqlite.c @@ -557,7 +557,7 @@ which means that we return a set object that can be queried with /* Return the data directly. */ Lisp_Object data = Qnil; - while ((ret = sqlite3_step (stmt)) == SQLITE_ROW) + while (sqlite3_step (stmt) == SQLITE_ROW) data = Fcons (row_to_value (stmt), data); if (EQ (return_type, Qfull)) -- 2.39.5