Skip to content

Commit

Permalink
Code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Mar 5, 2024
1 parent 7531a10 commit a6a68a1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions FWCore/ParameterSet/bin/edmWriteConfigs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,11 @@ namespace {
dst_path.push_back('\0');

int fd = mkstemp(&dst_path[0]);
if(fd != -1) {
path.assign(dst_path.begin(), dst_path.end() - 1);
f.open(path.c_str(),
std::ios_base::trunc | std::ios_base::out);
close(fd);
return true;
if (fd != -1) {
path.assign(dst_path.begin(), dst_path.end() - 1);
f.open(path.c_str(), std::ios_base::trunc | std::ios_base::out);
close(fd);
return true;
}
return false;
}
Expand Down

0 comments on commit a6a68a1

Please sign in to comment.