mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
get rid of remaining GCC 4.3 -Wall compiler warnings by initializing two variables and one structure properly (although the code path was already rather safe) (CVS 4439)
FossilOrigin-Name: d748694f8d9b14d98b6fe7ceb404754692761705
This commit is contained in:
@ -2388,9 +2388,9 @@ to follow the previous rule.");
|
||||
static void preprocess_input(char *z){
|
||||
int i, j, k, n;
|
||||
int exclude = 0;
|
||||
int start;
|
||||
int start = 0;
|
||||
int lineno = 1;
|
||||
int start_lineno;
|
||||
int start_lineno = 1;
|
||||
for(i=0; z[i]; i++){
|
||||
if( z[i]=='\n' ) lineno++;
|
||||
if( z[i]!='%' || (i>0 && z[i-1]!='\n') ) continue;
|
||||
@ -2448,6 +2448,7 @@ struct lemon *gp;
|
||||
char *cp, *nextcp;
|
||||
int startline = 0;
|
||||
|
||||
memset(&ps, '\0', sizeof(ps));
|
||||
ps.gp = gp;
|
||||
ps.filename = gp->filename;
|
||||
ps.errorcnt = 0;
|
||||
|
Reference in New Issue
Block a user