From 50a0936ffcf75491eb37fe7314dd4b0167de3de5 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 3 May 2004 12:02:00 -0400 Subject: [PATCH] ENH: Remove warning --- Tests/LoadCommand/CMakeCommands/cmTestCommand.c | 4 ++++ Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c index 460ee4bcc..4bcaa33f1 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 */ diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c index 460ee4bcc..4bcaa33f1 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommandOneConfig/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 */