mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
scan-build: fix a couple of minor warnings from a scan-build run
This commit is contained in:
parent
9abc5ca971
commit
15b12f45c6
6 changed files with 7 additions and 5 deletions
1
main.c
1
main.c
|
|
@ -143,6 +143,7 @@ main(int argc, char *const *argv)
|
|||
unsigned width, height;
|
||||
if (sscanf(optarg, "%ux%u", &width, &height) != 2 || width == 0 || height == 0) {
|
||||
fprintf(stderr, "error: invalid geometry: %s\n", optarg);
|
||||
config_free(conf);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue