summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-31 11:08:42 -0400
committerKen Martin <ken.martin@kitware.com>2002-07-31 11:08:42 -0400
commit836a280a6a98725c57ad4d69b8e33c1cef9de017 (patch)
treee87bf1d8f5bc28194492fd201b210f995488549e /Tests
parent1538956b7f3fc82156898e9449a8959076e1c106 (diff)
downloadcmake-836a280a6a98725c57ad4d69b8e33c1cef9de017.tar.gz
minor fix for c tests
Diffstat (limited to 'Tests')
-rw-r--r--Tests/TestDriver/testArgs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestDriver/testArgs.h b/Tests/TestDriver/testArgs.h
index 337441759a..04893660ba 100644
--- a/Tests/TestDriver/testArgs.h
+++ b/Tests/TestDriver/testArgs.h
@@ -1,10 +1,10 @@
void testProccessArgs(int* ac, char***av)
{
+ char** argv = *av;
if(*ac < 2)
{
return;
}
- char** argv = *av;
if(strcmp(argv[1], "--with-threads") == 0)
{
printf("number of threads is %s\n", argv[2]);