Commit 50a0936f authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Remove warning

parent c93d43b0
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
typedef struct typedef struct
{ {
char *LibraryName; char *LibraryName;
int Argc;
char** Argv;
} cmVTKWrapTclData; } cmVTKWrapTclData;
...@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[]) ...@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[])
cmVTKWrapTclData *cdata = cmVTKWrapTclData *cdata =
(cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData)); (cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData));
cdata->LibraryName = "BOO"; cdata->LibraryName = "BOO";
cdata->Argc = argc;
cdata->Argv = argv;
info->CAPI->SetClientData(info,cdata); info->CAPI->SetClientData(info,cdata);
/* Now check and see if the value has been stored in the cache */ /* Now check and see if the value has been stored in the cache */
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
typedef struct typedef struct
{ {
char *LibraryName; char *LibraryName;
int Argc;
char** Argv;
} cmVTKWrapTclData; } cmVTKWrapTclData;
...@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[]) ...@@ -22,6 +24,8 @@ static int InitialPass(void *inf, void *mf, int argc, char *argv[])
cmVTKWrapTclData *cdata = cmVTKWrapTclData *cdata =
(cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData)); (cmVTKWrapTclData *)malloc(sizeof(cmVTKWrapTclData));
cdata->LibraryName = "BOO"; cdata->LibraryName = "BOO";
cdata->Argc = argc;
cdata->Argv = argv;
info->CAPI->SetClientData(info,cdata); info->CAPI->SetClientData(info,cdata);
/* Now check and see if the value has been stored in the cache */ /* Now check and see if the value has been stored in the cache */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment