Skip to content

Commit a2a929c

Browse files
authored
Merge pull request #3931 from BsAtHome/fix_inifile-warning
ini: fix maybe-uninitialized warning
2 parents a3836b3 + 52949c1 commit a2a929c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emc/ini/inifile.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ bool IniFileContent::processValue(std::string &value, const std::string &path, u
332332
std::string realstr;
333333
uint32_t hexval;
334334
size_t pos;
335-
char quote;
335+
char quote = 0;
336336
enum { ST_START, ST_COLLECT } state = ST_START;
337337
for(pos = 0; pos < value.size(); pos++) {
338338
char ch = value[pos];

0 commit comments

Comments
 (0)