fix unused parameter warning
parent
391d8b9e15
commit
ae79c27d45
|
@ -29,7 +29,7 @@ void FileWriter::emit(bool add_header, bool force_overwrite) const {
|
||||||
bool file_exists = true;
|
bool file_exists = true;
|
||||||
try {
|
try {
|
||||||
existing_contents = file_contents(filename_.c_str(), add_header);
|
existing_contents = file_contents(filename_.c_str(), add_header);
|
||||||
} catch (const CantOpenFile& e) {
|
} catch (const CantOpenFile& ) {
|
||||||
file_exists = false;
|
file_exists = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue