Fix build warning about missing return value.
This commit is contained in:
parent
cc2f1879a8
commit
721769e682
@ -1394,7 +1394,7 @@ gboolean document_reload_prompt(GeanyDocument *doc, const gchar *forced_enc)
|
|||||||
gchar *base_name;
|
gchar *base_name;
|
||||||
gboolean result = FALSE;
|
gboolean result = FALSE;
|
||||||
|
|
||||||
g_return_if_fail(doc != NULL);
|
g_return_val_if_fail(doc != NULL, FALSE);
|
||||||
|
|
||||||
/* No need to reload "untitled" (non-file-backed) documents */
|
/* No need to reload "untitled" (non-file-backed) documents */
|
||||||
if (doc->file_name == NULL)
|
if (doc->file_name == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user