[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0ce91ed8b4 1/2: Clean up Fsqlite_select slightly
From: |
Lars Ingebrigtsen |
Subject: |
master 0ce91ed8b4 1/2: Clean up Fsqlite_select slightly |
Date: |
Sun, 9 Oct 2022 10:17:35 -0400 (EDT) |
branch: master
commit 0ce91ed8b478364a69502751d86bf5c5568a429c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 9375b44da2..a46acf8523 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))