Fix use of uninitialized variables

Building with optimization in debug mode revealed code that could in
theory result in undefined behavior.
This commit is contained in:
Markus Mäkelä
2019-02-06 14:10:19 +02:00
parent cc6665c732
commit 08a05d3ab9
7 changed files with 12 additions and 9 deletions

View File

@ -487,7 +487,7 @@ private:
{
result_t rv = IS_SET_SQL_MODE;
char c;
char c = *pSql_mode;
do
{