Remove return NULL from function returning void
gcc didnt catch that. clang did
This commit is contained in:
parent
62d5338277
commit
4d164f3083
|
@ -772,7 +772,7 @@ font_load (const char *pattern)
|
||||||
ret->height = ret->ascent + ret->descent;
|
ret->height = ret->ascent + ret->descent;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Could not load font %s\n", pattern);
|
fprintf(stderr, "Could not load font %s\n", pattern);
|
||||||
return NULL;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
font_list[font_count++] = ret;
|
font_list[font_count++] = ret;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user