diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 22:21:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-03 22:21:25 (GMT) |
commit | b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb (patch) | |
tree | ce9b8c5297f474261cb0b803b345e67687a9e950 /Source/CPack | |
parent | 5f41fe03ca0abfe43e386426ce942414d8602706 (diff) | |
download | CMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.zip CMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.tar.gz CMake-b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb.tar.bz2 |
Fix warning
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 2 |
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) { |