damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e3001cc2405579f8b6219e5d5ef81654a5d6f964
parent d1ef113a8b254b1f80ffbad8a2223f48ac13904e
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 13 Dec 2023 17:56:57 -0800

nostrdb/cursor: fix warning that build.rs is complaining about

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/cursor.h | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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);