mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Remove unnecessary early return
This commit is contained in:
@@ -91,7 +91,6 @@ Logger Logger::create_from_environment(std::string prefix,
|
|||||||
file_path, std::fstream::out | std::fstream::app);
|
file_path, std::fstream::out | std::fstream::app);
|
||||||
if (log_file->is_open()) {
|
if (log_file->is_open()) {
|
||||||
stream = log_file;
|
stream = log_file;
|
||||||
return Logger(log_file, verbosity_level, editor_tracing, prefix);
|
|
||||||
} else {
|
} else {
|
||||||
// For STDERR we sadly can't just use `std::cerr`. In the group
|
// For STDERR we sadly can't just use `std::cerr`. In the group
|
||||||
// process we need to capture all output generated by the process
|
// process we need to capture all output generated by the process
|
||||||
|
|||||||
Reference in New Issue
Block a user