mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio: The tmpl parameter to g_file_new_tmp can be NULL
Fixes: https://bugzilla.gnome.org/676208
This commit is contained in:
parent
7cadf4f15f
commit
6e32f0a601
@ -5937,7 +5937,6 @@ g_file_new_tmp (const char *tmpl,
|
||||
GFile *file;
|
||||
GFileOutputStream *output;
|
||||
|
||||
g_return_val_if_fail (tmpl != NULL, NULL);
|
||||
g_return_val_if_fail (iostream != NULL, NULL);
|
||||
|
||||
fd = g_file_open_tmp (tmpl, &path, error);
|
||||
|
Loading…
Reference in New Issue
Block a user