aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-03 16:06:10 +0200
committerYang Tse <yangsita@gmail.com>2011-09-03 16:07:09 +0200
commit6b75d2c2df7209919a70a29a4479625b62fb3c28 (patch)
treea5b2bd4195db4cb69f3299814e910bd04ebb6eac /tests/libtest
parent2be65bb0c5317b6821882b41558bd8cd2eb64d25 (diff)
fix a bunch of MSVC compiler warnings
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/first.c2
-rw-r--r--tests/libtest/lib500.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c
index f35528f71..d6b486003 100644
--- a/tests/libtest/first.c
+++ b/tests/libtest/first.c
@@ -83,7 +83,7 @@ static void memory_tracking_init(void)
}
}
#else
-# define memory_tracking_init()
+# define memory_tracking_init() Curl_nop_stmt
#endif
int main(int argc, char **argv)
diff --git a/tests/libtest/lib500.c b/tests/libtest/lib500.c
index 8ebeb1292..51680fc31 100644
--- a/tests/libtest/lib500.c
+++ b/tests/libtest/lib500.c
@@ -52,7 +52,7 @@ static void setupcallbacks(CURL *curl)
}
#else
-#define setupcallbacks(x)
+#define setupcallbacks(x) Curl_nop_stmt
#endif