[libgda/wip/lantw/fix-return-value-error] gda-vprovider: Fix return value error
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/wip/lantw/fix-return-value-error] gda-vprovider: Fix return value error
- Date: Wed, 3 Oct 2018 15:28:44 +0000 (UTC)
commit 459f9cd8922ea671b2d8ca1bac28a7cd5478d45f
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Oct 3 23:27:35 2018 +0800
gda-vprovider: Fix return value error
libgda/sqlite/virtual/gda-vprovider-data-model.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c
b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index c201fc21f..81c3dea3d 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -308,7 +308,7 @@ virtual_filtered_data_free (VirtualFilteredData *data)
static VirtualFilteredData *
virtual_filtered_data_ref (VirtualFilteredData *data)
{
- g_return_if_fail (data != NULL);
+ g_return_val_if_fail (data != NULL, NULL);
data->refcount ++;
return data;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]