nostrdb/cursor: fix warning that build.rs is complaining about
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
d1ef113a8b
commit
e3001cc240
@@ -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) {
|
static inline int parse_str(struct cursor *cur, const char *str) {
|
||||||
int i;
|
|
||||||
char c, cs;
|
char c, cs;
|
||||||
unsigned long len;
|
unsigned long i, len;
|
||||||
|
|
||||||
len = strlen(str);
|
len = strlen(str);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user