summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/crypto-tests.c3
-rw-r--r--src/tests/fail_over-tests.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/crypto-tests.c b/src/tests/crypto-tests.c
index 2e792bbd6..045f42627 100644
--- a/src/tests/crypto-tests.c
+++ b/src/tests/crypto-tests.c
@@ -150,11 +150,10 @@ int main(int argc, const char *argv[])
int opt;
poptContext pc;
int number_failed;
- int debug = 0;
struct poptOption long_options[] = {
POPT_AUTOHELP
- { "debug-level", 'd', POPT_ARG_INT, &debug, 0, "Set debug level", NULL },
+ { "debug-level", 'd', POPT_ARG_INT, &debug_level, 0, "Set debug level", NULL },
POPT_TABLEEND
};
diff --git a/src/tests/fail_over-tests.c b/src/tests/fail_over-tests.c
index 64ed19782..8d6bdd3de 100644
--- a/src/tests/fail_over-tests.c
+++ b/src/tests/fail_over-tests.c
@@ -283,11 +283,10 @@ main(int argc, const char *argv[])
int failure_count;
Suite *suite;
SRunner *sr;
- int debug = 0;
struct poptOption long_options[] = {
POPT_AUTOHELP
- { "debug-level", 'd', POPT_ARG_INT, &debug, 0, "Set debug level", NULL },
+ { "debug-level", 'd', POPT_ARG_INT, &debug_level, 0, "Set debug level", NULL },
{ "use-net-test", 'n', POPT_ARG_NONE, 0, 'n', "Run tests that need an active internet connection", NULL },
POPT_TABLEEND
};