From b0d43475c61fd0ec5e211ebd2a55d355d3a7edeb Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 3 Nov 2009 17:21:25 -0500 Subject: Fix warning --- Source/CPack/cmCPackArchiveGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v0.12