Commit 3d2389c3 authored by Davi Arnaut's avatar Davi Arnaut

Use UNINIT_VAR workaround instead of LINT_INIT.

parent 6433a553
...@@ -669,8 +669,7 @@ list_fields(MYSQL *mysql,const char *db,const char *table, ...@@ -669,8 +669,7 @@ list_fields(MYSQL *mysql,const char *db,const char *table,
char query[1024],*end; char query[1024],*end;
MYSQL_RES *result; MYSQL_RES *result;
MYSQL_ROW row; MYSQL_ROW row;
ulong rows; ulong UNINIT_VAR(rows);
LINT_INIT(rows);
if (mysql_select_db(mysql,db)) if (mysql_select_db(mysql,db))
{ {
......
...@@ -1563,13 +1563,13 @@ struct parse *p; ...@@ -1563,13 +1563,13 @@ struct parse *p;
register struct re_guts *g; register struct re_guts *g;
{ {
register sop *scan; register sop *scan;
sop *start; sop *UNINIT_VAR(start);
register sop *newstart; register sop *UNINIT_VAR(newstart);
register sopno newlen; register sopno newlen;
register sop s; register sop s;
register char *cp; register char *cp;
register sopno i; register sopno i;
LINT_INIT(start); LINT_INIT(newstart);
/* avoid making error situations worse */ /* avoid making error situations worse */
if (p->error != 0) if (p->error != 0)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment