Skip to content

Commit c0dcee7

Browse files
committed
issue #7833 Empty string in PREDEFINED throws
Ignore empty strings
1 parent f49f1c8 commit c0dcee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configimpl.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ static void substEnvVarsInStrList(StringVector &sl)
11021102
}
11031103
else // just goto the next element in the list
11041104
{
1105-
results.push_back(result.data());
1105+
if (!result.isEmpty()) results.push_back(result.data());
11061106
}
11071107
}
11081108
sl = results;

0 commit comments

Comments
 (0)