mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
seq: cleanup
This commit is contained in:
parent
db7b58f24a
commit
54283ebeee
2
seq.c
2
seq.c
@ -110,7 +110,6 @@ blaze822_seq_load(char *map)
|
||||
char *e = t;
|
||||
while (s < e && isfws(*(e-1)))
|
||||
e--;
|
||||
// printf("{%.*s}\n", e-s, s);
|
||||
char *f = strndup(s, e-s);
|
||||
if (!f)
|
||||
return -1;
|
||||
@ -394,7 +393,6 @@ find_cur(char *map, struct blaze822_seq_iter *iter)
|
||||
while (*s == ' ' || *s == '\t')
|
||||
s++;
|
||||
|
||||
// printf("{%.*s}\n", t-s, s);
|
||||
iter->lines++;
|
||||
if (!cur && curfile &&
|
||||
strncmp(s, curfile, strlen(curfile)) == 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user