summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2014-08-04 19:38:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2014-08-04 19:38:56 (GMT)
commitaea40fcb43f3b3496c79948e4e4fe08dbe4086d5 (patch)
tree5137fa0d234adcfaa7dfef3efa80b4891cb6fb71 /Source/CPack/cpack.cxx
parentba60ff99ed2ea35f8b8c24bc566b6f60d51fce53 (diff)
downloadCMake-aea40fcb43f3b3496c79948e4e4fe08dbe4086d5.zip
CMake-aea40fcb43f3b3496c79948e4e4fe08dbe4086d5.tar.gz
CMake-aea40fcb43f3b3496c79948e4e4fe08dbe4086d5.tar.bz2
Fix scan-build warning parsed is never read after being set.
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 98c62d5..c57028d 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -343,7 +343,6 @@ int main (int argc, char const* const* argv)
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
"CPack generator not specified" << std::endl);
- parsed = 0;
}
else
{