diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-17 15:14:51 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-07-17 15:14:51 +0000 |
commit | a54356cb1a0712f42c9c79ddae9ef2bdd2071646 (patch) | |
tree | ae0c66ed83f3fb3311af534a79aced3a4ddca304 /databases/libgda3 | |
parent | Remove all trailing whitespace. (diff) |
Fix build with GCC 3.4.
Reported by: pointyhat via kris
Obtained from: libgda CVS
Notes
Notes:
svn path=/head/; revision=113830
Diffstat (limited to 'databases/libgda3')
6 files changed, 93 insertions, 0 deletions
diff --git a/databases/libgda3/files/patch-libgda_gda-util.c b/databases/libgda3/files/patch-libgda_gda-util.c new file mode 100644 index 000000000000..61a7cded1fdb --- /dev/null +++ b/databases/libgda3/files/patch-libgda_gda-util.c @@ -0,0 +1,11 @@ +--- libgda/gda-util.c.orig Sat Jul 17 11:02:21 2004 ++++ libgda/gda-util.c Sat Jul 17 11:03:07 2004 +@@ -60,7 +60,7 @@ + case GDA_VALUE_TYPE_TIME : return "time"; + case GDA_VALUE_TYPE_TIMESTAMP : return "timestamp"; + case GDA_VALUE_TYPE_TINYINT : return "tinyint"; +- default: ++ default: ; + } + + return "string"; diff --git a/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c b/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c new file mode 100644 index 000000000000..182c120967dc --- /dev/null +++ b/databases/libgda3/files/patch-providers_ldap_gda-ldap-provider.c @@ -0,0 +1,20 @@ +--- providers/ldap/gda-ldap-provider.c.orig Sat Jul 17 11:06:48 2004 ++++ providers/ldap/gda-ldap-provider.c Sat Jul 17 11:06:57 2004 +@@ -275,7 +275,7 @@ + switch (feature) { + case GDA_CONNECTION_FEATURE_SQL : + return TRUE; +- default : ++ default : ; + } + + return FALSE; +@@ -466,7 +466,7 @@ + return get_ldap_tables (cnc, params); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_ldap_types (cnc, params); +- default : ++ default : ; + } + + return NULL; diff --git a/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c b/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c new file mode 100644 index 000000000000..a56a2df2a1a0 --- /dev/null +++ b/databases/libgda3/files/patch-providers_mdb_gda-mdb-provider.c @@ -0,0 +1,20 @@ +--- providers/mdb/gda-mdb-provider.c.orig Sat Jul 17 11:05:48 2004 ++++ providers/mdb/gda-mdb-provider.c Sat Jul 17 11:06:12 2004 +@@ -389,7 +389,7 @@ + g_strfreev (arr); + } + break; +- default : ++ default : ; + } + + return reclist; +@@ -438,7 +438,7 @@ + case GDA_CONNECTION_FEATURE_PROCEDURES : + case GDA_CONNECTION_FEATURE_SQL : + return TRUE; +- default : ++ default : ; + } + + return FALSE; diff --git a/databases/libgda3/files/patch-providers_oracle_utils.c b/databases/libgda3/files/patch-providers_oracle_utils.c new file mode 100644 index 000000000000..a38974770e24 --- /dev/null +++ b/databases/libgda3/files/patch-providers_oracle_utils.c @@ -0,0 +1,11 @@ +--- providers/oracle/utils.c.orig Sat Jul 17 11:07:46 2004 ++++ providers/oracle/utils.c Sat Jul 17 11:08:12 2004 +@@ -110,7 +110,7 @@ + break; + case OCI_HTYPE_ENV: + gda_connection_add_error (cnc, gda_oracle_make_error (priv_data->henv, type, file, line)); +- default: ++ default: ; + } + break; + default: diff --git a/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c b/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c new file mode 100644 index 000000000000..66454f222810 --- /dev/null +++ b/databases/libgda3/files/patch-providers_sqlite_gda-sqlite-provider.c @@ -0,0 +1,20 @@ +--- providers/sqlite/gda-sqlite-provider.c.orig Sat Jul 17 11:09:00 2004 ++++ providers/sqlite/gda-sqlite-provider.c Sat Jul 17 11:09:07 2004 +@@ -623,7 +623,7 @@ + case GDA_CONNECTION_FEATURE_TRIGGERS : + case GDA_CONNECTION_FEATURE_VIEWS : + return TRUE; +- default: ++ default: ; + } + + return FALSE; +@@ -809,7 +809,7 @@ + return get_tables (cnc); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_types (); +- default: ++ default: ; + } + + return NULL; diff --git a/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c b/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c new file mode 100644 index 000000000000..487d19514fc6 --- /dev/null +++ b/databases/libgda3/files/patch-providers_xml_gda-xml-provider.c @@ -0,0 +1,11 @@ +--- providers/xml/gda-xml-provider.c.orig Sat Jul 17 11:05:02 2004 ++++ providers/xml/gda-xml-provider.c Sat Jul 17 11:05:11 2004 +@@ -681,7 +681,7 @@ + return get_tables (cnc, xmldb); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_types (cnc); +- default : ++ default : ; + } + + return NULL; |