STYLE: use braces
Alex
This commit is contained in:
parent
ba2988e4c5
commit
fc07a8c353
@ -485,15 +485,17 @@ void cmGlobalKdevelopGenerator
|
|||||||
fout<<"</kdevelop>\n";
|
fout<<"</kdevelop>\n";
|
||||||
|
|
||||||
if (sessionFilename.empty())
|
if (sessionFilename.empty())
|
||||||
return;
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// and a session file, so that kdevelop opens a file if it opens the
|
// and a session file, so that kdevelop opens a file if it opens the
|
||||||
// project the first time
|
// project the first time
|
||||||
cmGeneratedFileStream devses(sessionFilename.c_str());
|
cmGeneratedFileStream devses(sessionFilename.c_str());
|
||||||
if(!devses)
|
if(!devses)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
devses<<"<?xml version = '1.0' encoding = \'UTF-8\'?>\n";
|
devses<<"<?xml version = '1.0' encoding = \'UTF-8\'?>\n";
|
||||||
devses<<"<!DOCTYPE KDevPrjSession>\n";
|
devses<<"<!DOCTYPE KDevPrjSession>\n";
|
||||||
devses<<"<KDevPrjSession>\n";
|
devses<<"<KDevPrjSession>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user