projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22374f2
)
Clean up Fsqlite_select slightly
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 9 Oct 2022 00:19:14 +0000
(
02:19
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 9 Oct 2022 13:38:52 +0000
(15:38 +0200)
* src/sqlite.c (Fsqlite_select): Clean up code slightly.
src/sqlite.c
patch
|
blob
|
history
diff --git
a/src/sqlite.c
b/src/sqlite.c
index 9375b44da251d24b76eeb8633cbdebb2e634469a..a46acf8523ac22d913e296a90661ba55c4665f3b 100644
(file)
--- 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))