mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
plug-ins: closing a NULL File.
This is a code path where we already verified that the returned FILE was NULL. The compiler complained too: > plug-ins/common/file-tim.c:280:7: warning: argument 1 null where non-null expected [-Wnonnull]
This commit is contained in:
parent
80fe32dfc6
commit
e98fc3dbf6
1 changed files with 0 additions and 1 deletions
|
@ -277,7 +277,6 @@ tim_load (GimpProcedure *procedure,
|
||||||
g_set_error (&error, G_FILE_ERROR, g_file_error_from_errno (errno),
|
g_set_error (&error, G_FILE_ERROR, g_file_error_from_errno (errno),
|
||||||
_("Could not open '%s' for reading: %s"),
|
_("Could not open '%s' for reading: %s"),
|
||||||
gimp_file_get_utf8_name (file), g_strerror (errno));
|
gimp_file_get_utf8_name (file), g_strerror (errno));
|
||||||
fclose (fp);
|
|
||||||
return gimp_procedure_new_return_values (procedure,
|
return gimp_procedure_new_return_values (procedure,
|
||||||
GIMP_PDB_EXECUTION_ERROR,
|
GIMP_PDB_EXECUTION_ERROR,
|
||||||
error);
|
error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue