COMP: Remove sun warning

This commit is contained in:
Andy Cedilnik 2005-12-30 15:32:20 -05:00
parent 8ff4919443
commit 00371678d3
1 changed files with 5 additions and 5 deletions

View File

@ -1378,7 +1378,7 @@ struct cmSystemToolsGZStruct
int cmSystemToolsGZStruct::Open(void* call_data, const char *pathname, int oflags, mode_t mode)
{
char *gzoflags;
const char *gzoflags;
int fd;
cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data);
@ -1449,10 +1449,10 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector<cmStdSt
cmSystemToolsGZStruct gzs;
tartype_t gztype = {
cmSystemToolsGZStruct::Open,
cmSystemToolsGZStruct::Close,
cmSystemToolsGZStruct::Read,
cmSystemToolsGZStruct::Write,
(openfunc_t)cmSystemToolsGZStruct::Open,
(closefunc_t)cmSystemToolsGZStruct::Close,
(readfunc_t)cmSystemToolsGZStruct::Read,
(writefunc_t)cmSystemToolsGZStruct::Write,
&gzs
};