From: John Darrington Date: Mon, 15 Aug 2016 12:32:34 +0000 (+0200) Subject: Fix compiler warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4a0bfb5cca98d588344cc5b7d4216e99cd1f17;p=pspp Fix compiler warning --- diff --git a/src/ui/gui/psppire-data-store.c b/src/ui/gui/psppire-data-store.c index 1664da735e..77aa37f1f4 100644 --- a/src/ui/gui/psppire-data-store.c +++ b/src/ui/gui/psppire-data-store.c @@ -597,9 +597,9 @@ psppire_data_store_get_value (PsppireDataStore *store, glong row, const struct variable *var, union value *val) { - g_return_val_if_fail (store != NULL, NULL); - g_return_val_if_fail (store->datasheet != NULL, NULL); - g_return_val_if_fail (var != NULL, NULL); + g_return_val_if_fail (store != NULL, FALSE); + g_return_val_if_fail (store->datasheet != NULL, FALSE); + g_return_val_if_fail (var != NULL, FALSE); if (row < 0 || row >= datasheet_get_n_rows (store->datasheet)) return FALSE;