Remove return NULL from function returning void

gcc didnt catch that. clang did
This commit is contained in:
krypt-n 2015-11-15 22:31:05 +01:00
parent 62d5338277
commit 4d164f3083

View File

@ -772,7 +772,7 @@ font_load (const char *pattern)
ret->height = ret->ascent + ret->descent;
} else {
fprintf(stderr, "Could not load font %s\n", pattern);
return NULL;
return;
}
font_list[font_count++] = ret;