Skip to content

Commit 2fbd1fe

Browse files
committed
Small simplification of last patch
1 parent b93d8f4 commit 2fbd1fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/sqlite3_stubs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ static inline value safe_copy_header_strings(const char** strs, int len)
340340
static inline void ref_count_finalize_dbw(db_wrap *dbw)
341341
{
342342
if (--dbw->ref_count == 0) {
343-
user_function *link;
344-
user_function *next;
343+
user_function *link, *next;
345344
for (link = dbw->user_functions; link != NULL; link = next) {
346345
caml_remove_generational_global_root(&link->v_fun);
347346
next = link->next;

0 commit comments

Comments
 (0)