mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
Libgda is a (relatively small) database access library: * it is a wrapper like ODBC but with more features to access several database engines * features a meta data extractor (to know all about database objects in a common way) * comes with an SQL console application (like mysql, psql or sqlite3 consoles) * relies on GLib, coded in C, its API is easy to use PR: 286697 Differential Revission: https://reviews.freebsd.org/D40489
25 lines
776 B
C
25 lines
776 B
C
../tests/data-models/check_pmodel.c:108:11: error: variable 'ntests' set but not used [-Werror,-Wunused-but-set-variable]
|
|
108 | guint i, ntests = 0, number_failed = 0;
|
|
| ^
|
|
1 error generated.
|
|
|
|
--- tests/data-models/check_pmodel.c.orig 2025-03-02 15:03:58 UTC
|
|
+++ tests/data-models/check_pmodel.c
|
|
@@ -105,7 +105,7 @@ main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **arg
|
|
int
|
|
main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
|
|
{
|
|
- guint i, ntests = 0, number_failed = 0;
|
|
+ guint i, number_failed = 0;
|
|
GdaConnection *cnc;
|
|
|
|
gda_init ();
|
|
@@ -119,7 +119,6 @@ main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **arg
|
|
number_failed += n;
|
|
if (n > 0)
|
|
g_print ("Test %d failed\n", i+1);
|
|
- ntests ++;
|
|
}
|
|
|
|
g_object_unref (cnc);
|