From: Lars Ingebrigtsen Date: Sun, 9 Oct 2022 00:19:14 +0000 (+0200) Subject: Clean up Fsqlite_select slightly X-Git-Tag: emacs-29.0.90~1616^2~682 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ce91ed8b478364a69502751d86bf5c5568a429c;p=emacs.git Clean up Fsqlite_select slightly * src/sqlite.c (Fsqlite_select): Clean up code slightly. --- 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))