From e3001cc2405579f8b6219e5d5ef81654a5d6f964 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 13 Dec 2023 17:56:57 -0800 Subject: [PATCH] nostrdb/cursor: fix warning that build.rs is complaining about Signed-off-by: William Casarin --- nostrdb/cursor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nostrdb/cursor.h b/nostrdb/cursor.h index 69e88eae..7de80e30 100644 --- a/nostrdb/cursor.h +++ b/nostrdb/cursor.h @@ -463,9 +463,8 @@ static inline int pull_bytes(struct cursor *cur, int count, const u8 **bytes) { } static inline int parse_str(struct cursor *cur, const char *str) { - int i; char c, cs; - unsigned long len; + unsigned long i, len; len = strlen(str);