Skip to content

Commit d622bc8

Browse files
authored
Silence a clang warning (#4128)
1 parent 2a699fb commit d622bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/vipsheader.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ main(int argc, char *argv[])
218218
result = 0;
219219

220220
for (i = 1; argv[i]; i++) {
221-
VipsImage *image;
221+
VipsImage *image = NULL;
222222
char filename[VIPS_PATH_MAX];
223223
char option_string[VIPS_PATH_MAX];
224224

0 commit comments

Comments
 (0)