Skip to content

Commit

Permalink
Fix label before declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Feb 21, 2024
1 parent ae158bd commit 749b37d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dependencies/lmdb/libraries/liblmdb/midl.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ int mdb_midl_insert( MDB_IDL* ids_ref, MDB_ID id, int insertion_count )
x = i;
id = -insertion_count;
}
ssize_t last_id;
insert_id:
// move items to try to make room
ssize_t last_id = id;
last_id = id;
if ((ssize_t)ids[x - 1] < 0) x--;
do {
i = x;
Expand Down

0 comments on commit 749b37d

Please sign in to comment.