diff --git a/util.c b/util.c index af2bf7b6..7cfb0ca3 100644 --- a/util.c +++ b/util.c @@ -137,8 +137,8 @@ check_user_token_mysql (const char *mysql_server, long unsigned int length; int int_data; int row_count; - bool is_null; - bool error; + bool is_null = false; + bool error = false; if (mysql_library_init(0, NULL, NULL)) { if(verbose){ @@ -225,9 +225,9 @@ check_user_token_mysql (const char *mysql_server, memset(bind, 0, sizeof(bind)); bind[0].buffer_type = MYSQL_TYPE_LONG; bind[0].buffer = (char *)&int_data; - bind[0].length= &length; - bind[0].is_null= &is_null; - bind[0].error= &error; + bind[0].length = &length; + bind[0].is_null = &is_null; + bind[0].error = &error; if (mysql_stmt_bind_result(stmt, bind)) {