summaryrefslogtreecommitdiff
path: root/dbug/tests.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-04-13 19:44:22 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-04-13 19:44:22 +0200
commit24516289237d5677f0624b1f37306ec505a6db8b (patch)
tree100a7d06edd3f5c08cec39256f45661a0a0d27a7 /dbug/tests.c
parent85a025f30c5196c22c5b1d7960912fe9b3f0d6c0 (diff)
downloadmariadb-git-24516289237d5677f0624b1f37306ec505a6db8b.tar.gz
Fixed some simple warnings on Windows.
Diffstat (limited to 'dbug/tests.c')
-rw-r--r--dbug/tests.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbug/tests.c b/dbug/tests.c
index 5950c5fa583..657ed638a5a 100644
--- a/dbug/tests.c
+++ b/dbug/tests.c
@@ -38,10 +38,10 @@ int func1()
int main (int argc, char *argv[])
{
- int i;
#ifdef DBUG_OFF
return 1;
-#endif
+#else
+ int i;
if (argc == 1)
return 0;
@@ -83,4 +83,5 @@ int main (int argc, char *argv[])
DBUG_SET(""); /* to not have my_end() in the traces */
my_end(0);
return 0;
+#endif /* DBUG_OFF */
}