mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
chartorunearr: initialize ret
This commit is contained in:
parent
cf714e6edb
commit
4469b0b641
@ -8,7 +8,7 @@
|
||||
int
|
||||
chartorunearr(const char *str, Rune **r)
|
||||
{
|
||||
size_t len = strlen(str), rlen, roff, ret, i;
|
||||
size_t len = strlen(str), rlen, roff, ret = 1, i;
|
||||
Rune s;
|
||||
|
||||
for (rlen = 0, roff = 0; roff < len && ret; rlen++) {
|
||||
|
Loading…
Reference in New Issue
Block a user