Skip to content

Commit abb5243

Browse files
authored
Merge pull request #1041 from su2code/feature_fix_valgrind
Merging in then.
2 parents 4a29761 + a60717b commit abb5243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Common/src/CConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@ void CConfig::SetConfig_Parsing(char case_filename[MAX_STRING_SIZE]) {
28322832
* If there is a statement after a cont. char
28332833
* throw an error. ---*/
28342834

2835-
if (text_line.front() != '%'){
2835+
if (text_line.size() && (text_line.front() != '%')){
28362836
while (text_line.back() == '\\' ||
28372837
(PrintingToolbox::split(text_line, '\\').size() > 1)){
28382838
string tmp;

0 commit comments

Comments
 (0)