Skip to content

Commit

Permalink
Fixed|libcore: Uninitialized variable in RegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 98ddd10 commit 0093b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libs/core/src/data/regexp.cpp
Expand Up @@ -92,7 +92,7 @@ bool RegExp::match(const String &subject, RegExpMatch &match) const

bool RegExp::hasMatch(const String &subject) const
{
iRegExpMatch match;
iRegExpMatch match{};
return matchString_RegExp(_d, subject, &match);
}

Expand Down

0 comments on commit 0093b78

Please sign in to comment.