[Cmake-commits] [cmake-commits] king committed cmComputeLinkInformation.cxx 1.26 1.27

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Mar 15 10:00:43 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv21243

Modified Files:
	cmComputeLinkInformation.cxx 
Log Message:
COMP: Fix unreachable code warning for break after return in switch in CMP0003 impl.


Index: cmComputeLinkInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkInformation.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -C 2 -d -r1.26 -r1.27
*** cmComputeLinkInformation.cxx	14 Mar 2008 18:21:57 -0000	1.26
--- cmComputeLinkInformation.cxx	15 Mar 2008 14:00:40 -0000	1.27
***************
*** 1350,1354 ****
        // Should never happen due to assignment of OldLinkDirMode
        return true;
-       break;
      case cmPolicies::REQUIRED_IF_USED:
      case cmPolicies::REQUIRED_ALWAYS:
--- 1350,1353 ----
***************
*** 1362,1366 ****
        return false;
        }
-       break;
      }
  
--- 1361,1364 ----



More information about the Cmake-commits mailing list