COMP: Remove sun warning
This commit is contained in:
parent
8ff4919443
commit
00371678d3
|
@ -1378,7 +1378,7 @@ struct cmSystemToolsGZStruct
|
||||||
|
|
||||||
int cmSystemToolsGZStruct::Open(void* call_data, const char *pathname, int oflags, mode_t mode)
|
int cmSystemToolsGZStruct::Open(void* call_data, const char *pathname, int oflags, mode_t mode)
|
||||||
{
|
{
|
||||||
char *gzoflags;
|
const char *gzoflags;
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data);
|
cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data);
|
||||||
|
@ -1449,10 +1449,10 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector<cmStdSt
|
||||||
cmSystemToolsGZStruct gzs;
|
cmSystemToolsGZStruct gzs;
|
||||||
|
|
||||||
tartype_t gztype = {
|
tartype_t gztype = {
|
||||||
cmSystemToolsGZStruct::Open,
|
(openfunc_t)cmSystemToolsGZStruct::Open,
|
||||||
cmSystemToolsGZStruct::Close,
|
(closefunc_t)cmSystemToolsGZStruct::Close,
|
||||||
cmSystemToolsGZStruct::Read,
|
(readfunc_t)cmSystemToolsGZStruct::Read,
|
||||||
cmSystemToolsGZStruct::Write,
|
(writefunc_t)cmSystemToolsGZStruct::Write,
|
||||||
&gzs
|
&gzs
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue