summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-03 22:21:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-03 22:21:25 (GMT)
commitb0d43475c61fd0ec5e211ebd2a55d355d3a7edeb (patch)
treece9b8c5297f474261cb0b803b345e67687a9e950 /Source/CPack
parent5f41fe03ca0abfe43e386426ce942414d8602706 (diff)
downloadCMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.zip
CMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.tar.gz
CMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.tar.bz2
Fix warning
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackArchiveGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx
index 9d8edf8..c9432ec 100644
--- a/Source/CPack/cmCPackArchiveGenerator.cxx
+++ b/Source/CPack/cmCPackArchiveGenerator.cxx
@@ -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)
{