diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-10 10:06:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-10 10:06:13 +0000 |
commit | d1a4f68a4301d1ee3098cc9db0cd507b96dd1bee (patch) | |
tree | 53581bbcaf7592f6019f9bfbef186b490b40dc16 /tools/c-index-test/c-index-test.c | |
parent | a59114bc19068d95a8184dda9538ff5eb880e68a (diff) |
Fix a couple of pedantic gcc warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r-- | tools/c-index-test/c-index-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c index f9b5cdf96b..5df21ec2a8 100644 --- a/tools/c-index-test/c-index-test.c +++ b/tools/c-index-test/c-index-test.c @@ -3355,12 +3355,12 @@ void thread_runner(void *client_data_v) { } int main(int argc, const char **argv) { + thread_info client_data; + #ifdef CLANG_HAVE_LIBXML LIBXML_TEST_VERSION #endif - thread_info client_data; - if (getenv("CINDEXTEST_NOTHREADS")) return cindextest_main(argc, argv); |