[cmake-commits] alex committed cmGlobalKdevelopGenerator.cxx 1.20 1.21
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 17 16:50:55 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv24764
Modified Files:
cmGlobalKdevelopGenerator.cxx
Log Message:
STYLE: use braces
Alex
Index: cmGlobalKdevelopGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalKdevelopGenerator.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cmGlobalKdevelopGenerator.cxx 25 Jan 2007 20:44:52 -0000 1.20
+++ cmGlobalKdevelopGenerator.cxx 17 May 2007 20:50:53 -0000 1.21
@@ -485,15 +485,17 @@
fout<<"</kdevelop>\n";
if (sessionFilename.empty())
- return;
+ {
+ return;
+ }
// and a session file, so that kdevelop opens a file if it opens the
// project the first time
cmGeneratedFileStream devses(sessionFilename.c_str());
if(!devses)
- {
- return;
- }
+ {
+ return;
+ }
devses<<"<?xml version = '1.0' encoding = \'UTF-8\'?>\n";
devses<<"<!DOCTYPE KDevPrjSession>\n";
devses<<"<KDevPrjSession>\n";
More information about the Cmake-commits
mailing list