[cmake-commits] king committed cmLocalVisualStudio7Generator.cxx 1.164 1.165

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Feb 1 15:44:41 EST 2007


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

Modified Files:
	cmLocalVisualStudio7Generator.cxx 
Log Message:
BUG: Do not use bitwise OR on bool.


Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- cmLocalVisualStudio7Generator.cxx	1 Feb 2007 20:02:35 -0000	1.164
+++ cmLocalVisualStudio7Generator.cxx	1 Feb 2007 20:44:39 -0000	1.165
@@ -1864,7 +1864,7 @@
           }
 
         // If the entry was found the flag has been handled.
-        flag_handled |= entry_found;
+        flag_handled = flag_handled || entry_found;
         }
 
       // If any map entry handled the flag we are done.



More information about the Cmake-commits mailing list