[geany/geany] 721769: Fix build warning about missing return value.
Thomas Martitz
git-noreply at xxxxx
Tue Jun 24 21:07:08 UTC 2014
Branch: refs/heads/master
Author: Thomas Martitz <kugel at rockbox.org>
Committer: Thomas Martitz <kugel at rockbox.org>
Date: Tue, 24 Jun 2014 21:07:08 UTC
Commit: 721769e682b142c0d07b12a3d7158695ccc3dacb
https://github.com/geany/geany/commit/721769e682b142c0d07b12a3d7158695ccc3dacb
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).
More information about the Commits
mailing list