summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackRPMGenerator.cxx
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-02-15 18:55:36 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-02-15 18:55:36 (GMT)
commit0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684 (patch)
tree0a0e57643a07c109b953a08cb5f0abe0a7b09300 /Source/CPack/cmCPackRPMGenerator.cxx
parent494bb8ada786be70f39807a574bea6a1ef98654d (diff)
downloadCMake-0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684.zip
CMake-0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684.tar.gz
CMake-0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684.tar.bz2
CPackRPM fix IRIX compiler warning (variable never used)
Diffstat (limited to 'Source/CPack/cmCPackRPMGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackRPMGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackRPMGenerator.cxx b/Source/CPack/cmCPackRPMGenerator.cxx
index a5a9753..2d675c1 100644
--- a/Source/CPack/cmCPackRPMGenerator.cxx
+++ b/Source/CPack/cmCPackRPMGenerator.cxx
@@ -182,7 +182,7 @@ int cmCPackRPMGenerator::PackageComponentsAllInOne(bool allComponent)
// add the generated package to package file names list
packageFileNames.push_back(packageFileName);
- return 1;
+ return retval;
}
//----------------------------------------------------------------------