Fix build warning about missing return value.

This commit is contained in:
Thomas Martitz 2014-06-24 23:07:08 +02:00
parent cc2f1879a8
commit 721769e682

View File

@ -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)