fix two bugs in the indexing code found by Georg Lehner

silence if statement indentation warnings (gcc has become more picky)
This commit is contained in:
leitner
2017-02-25 08:40:23 +00:00
parent eb8bf7c2ac
commit 6ef84457cc
13 changed files with 53 additions and 23 deletions

3
t2.c
View File

@@ -46,7 +46,8 @@ mergesub:
int first=1;
printf("%.*s has ",(int)f->ava.desc.l,f->ava.desc.s);
while (s) {
if (!first) printf(" and "); first=0;
if (!first) printf(" and ");
first=0;
switch(s->substrtype) {
case prefix: printf("prefix \""); break;
case any: printf("substr \""); break;