Branch: refs/heads/master Author: Thomas Martitz kugel@rockbox.org Committer: Thomas Martitz kugel@rockbox.org Date: Tue, 24 Jun 2014 21:07:08 UTC Commit: 721769e682b142c0d07b12a3d7158695ccc3dacb https://github.com/geany/geany/commit/721769e682b142c0d07b12a3d7158695ccc3da...
Log Message: ----------- Fix build warning about missing return value.
Modified Paths: -------------- src/document.c
Modified: src/document.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1394,7 +1394,7 @@ gboolean document_reload_prompt(GeanyDocument *doc, const gchar *forced_enc) gchar *base_name; 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 */ if (doc->file_name == NULL)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).