From d4d4ef552d1a190926c3a4dc7e98877a6c7824a7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 8 Apr 2014 18:15:52 -0400 Subject: [PATCH] libotutil: Fix mistaken return of TRUE in error path Gah, must have been a refactoring bug. --- src/libotutil/ot-gio-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c index 6acb66de..643939c3 100644 --- a/src/libotutil/ot-gio-utils.c +++ b/src/libotutil/ot-gio-utils.c @@ -248,7 +248,7 @@ ot_gfile_load_contents_utf8_allow_noent (GFile *path, GCancellable *cancellable, GError **error) { - gboolean ret = TRUE; + gboolean ret = FALSE; GError *temp_error = NULL; gs_free char *ret_contents = NULL;