Fix warning
This commit is contained in:
parent
5f41fe03ca
commit
b0d43475c6
|
@ -49,7 +49,7 @@ bool SetArchiveType(struct archive* a,
|
|||
cmCPackArchiveGenerator::CompressType ct,
|
||||
cmCPackArchiveGenerator::ArchiveType at)
|
||||
{
|
||||
int res;
|
||||
int res = 0;
|
||||
// pick the archive type
|
||||
switch(at)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue