summaryrefslogtreecommitdiff
path: root/Tests/LoadCommand
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-03 12:02:00 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-03 12:02:00 -0400
commit50a0936ffcf75491eb37fe7314dd4b0167de3de5 (patch)
tree851ed20d8ddca32b9dd820d325cb6b4874299144 /Tests/LoadCommand
parentc93d43b09e9ff216708a0b9eba7f666376e0c06b (diff)
downloadcmake-50a0936ffcf75491eb37fe7314dd4b0167de3de5.tar.gz
ENH: Remove warning
Diffstat (limited to 'Tests/LoadCommand')
-rw-r--r--Tests/LoadCommand/CMakeCommands/cmTestCommand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
index 460ee4bccd..4bcaa33f12 100644
--- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
+++ b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c
@@ -6,6 +6,8 @@
typedef struct
{
char *LibraryName;
+ int Argc;
+ char** Argv;
} cmVTKWrapTclData;
@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[])
cmVTKWrapTclData *cdata =
(cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData));
cdata->LibraryName = "BOO";
+ cdata->Argc = argc;
+ cdata->Argv = argv;
info->CAPI->SetClientData(info,cdata);
/* Now check and see if the value has been stored in the cache */