diff options
-rw-r--r-- | Source/CPack/IFW/cmCPackIFWPackage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWPackage.cxx b/Source/CPack/IFW/cmCPackIFWPackage.cxx index c4bd7f1..5191c96 100644 --- a/Source/CPack/IFW/cmCPackIFWPackage.cxx +++ b/Source/CPack/IFW/cmCPackIFWPackage.cxx @@ -31,7 +31,7 @@ cmCPackIFWPackage::DependenceStruct::DependenceStruct( const std::string& dependence) { // Search compare section - size_t pos = std::string::npos; + size_t pos; if ((pos = dependence.find("<=")) != std::string::npos) { this->Compare.Type = cmCPackIFWPackage::CompareLessOrEqual; this->Compare.Value = dependence.substr(pos + 2); |