summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjoerg <joerg>2012-05-04 16:08:09 +0000
committerjoerg <joerg>2012-05-04 16:08:09 +0000
commitfc9870b5c1a6fed5e9d6f1379dc028358f59c07d (patch)
tree43aa8e9739954ea5c23f30de15e187936d2e8515 /databases
parent8abd47353944326ad787a3ba86fb771116dd0944 (diff)
downloadpkgsrc-fc9870b5c1a6fed5e9d6f1379dc028358f59c07d.tar.gz
Don't return values from void functions.
Diffstat (limited to 'databases')
-rw-r--r--databases/libgda/distinfo3
-rw-r--r--databases/libgda/patches/patch-libgda_gda-entity-field.c18
2 files changed, 20 insertions, 1 deletions
diff --git a/databases/libgda/distinfo b/databases/libgda/distinfo
index 488787b174f..5e0b81a35a8 100644
--- a/databases/libgda/distinfo
+++ b/databases/libgda/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2007/08/04 11:13:37 obache Exp $
+$NetBSD: distinfo,v 1.31 2012/05/04 16:08:09 joerg Exp $
SHA1 (libgda-3.0.1.tar.bz2) = 78c9054c4c40463020b8f62da72fca909dd9df03
RMD160 (libgda-3.0.1.tar.bz2) = a9a1f71cc3a6faf8086bf3044b8de91dfc3f3032
@@ -7,3 +7,4 @@ SHA1 (patch-ab) = 2304f46df0500f3f15af210fcb1f9770df59e99e
SHA1 (patch-ad) = 5deb66dc704027625ce6fc795d880779a4b69d4b
SHA1 (patch-ak) = dafc05f5697a733a32d135bb08b9a4275673d359
SHA1 (patch-al) = 0267218fb02aa3e011bddc1675d2f427a97c954f
+SHA1 (patch-libgda_gda-entity-field.c) = 08902eac2340a3e9f5f7dbe4073791e551c71fdf
diff --git a/databases/libgda/patches/patch-libgda_gda-entity-field.c b/databases/libgda/patches/patch-libgda_gda-entity-field.c
new file mode 100644
index 00000000000..6014dcd0d20
--- /dev/null
+++ b/databases/libgda/patches/patch-libgda_gda-entity-field.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-libgda_gda-entity-field.c,v 1.1 2012/05/04 16:08:09 joerg Exp $
+
+--- libgda/gda-entity-field.c.orig 2012-04-27 17:18:10.000000000 +0000
++++ libgda/gda-entity-field.c
+@@ -109,12 +109,10 @@ gda_entity_field_get_dict_type (GdaEntit
+ void
+ gda_entity_field_set_dict_type (GdaEntityField *iface, GdaDictType *type)
+ {
+- g_return_val_if_fail (iface && GDA_IS_ENTITY_FIELD (iface), NULL);
++ g_return_if_fail (iface && GDA_IS_ENTITY_FIELD (iface));
+
+ if (GDA_ENTITY_FIELD_GET_IFACE (iface)->set_dict_type)
+ return (GDA_ENTITY_FIELD_GET_IFACE (iface)->set_dict_type) (iface, type);
+-
+- return NULL;
+ }
+
+ /**