silence common.cpp warning (bonus)

This commit is contained in:
slaren 2023-11-05 18:33:52 +01:00
parent d4d45c79a9
commit 8bcdb88e5c

View file

@ -101,8 +101,8 @@ void process_escapes(std::string& input) {
input[output_idx++] = char(val);
break;
}
// Intentionally fall through to default.
}
// fall through
default: input[output_idx++] = '\\';
input[output_idx++] = input[input_idx]; break;
}