emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7ab6ec364d: Fix some indentation in Fsqlite_execute


From: Lars Ingebrigtsen
Subject: master 7ab6ec364d: Fix some indentation in Fsqlite_execute
Date: Mon, 10 Oct 2022 04:35:52 -0400 (EDT)

branch: master
commit 7ab6ec364d56c292de2d6294e9424824866691b3
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix some indentation in Fsqlite_execute
    
    * src/sqlite.c (Fsqlite_execute): Fix indentation.
---
 src/sqlite.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/sqlite.c b/src/sqlite.c
index ababa73b99..7af3760eb4 100644
--- a/src/sqlite.c
+++ b/src/sqlite.c
@@ -415,14 +415,15 @@ Value is the number of affected rows.  */)
     }
 
   /* Bind ? values.  */
-  if (!NILP (values)) {
-    const char *err = bind_values (sdb, stmt, values);
-    if (err != NULL)
-      {
-       errmsg = err;
-       goto exit;
-      }
-  }
+  if (!NILP (values))
+    {
+      const char *err = bind_values (sdb, stmt, values);
+      if (err != NULL)
+       {
+         errmsg = err;
+         goto exit;
+       }
+    }
 
   ret = sqlite3_step (stmt);
   sqlite3_finalize (stmt);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]