fix gcc 6.1.1 compiler warn misleading-indentation
This commit is contained in:
parent
c1af146a6e
commit
a714f4f720
|
@ -1173,11 +1173,14 @@ static int mod_ssi_stmt_len(const char *s, const int len) {
|
|||
if (!sq && !dq && n+2 < len && s[n+1] == '-' && s[n+2] == '>') return n+3; /* found end of stmt */
|
||||
break;
|
||||
case '"':
|
||||
if (!sq && (!dq || !bs)) dq = !dq; break;
|
||||
if (!sq && (!dq || !bs)) dq = !dq;
|
||||
break;
|
||||
case '\'':
|
||||
if (!dq && (!sq || !bs)) sq = !sq; break;
|
||||
if (!dq && (!sq || !bs)) sq = !sq;
|
||||
break;
|
||||
case '\\':
|
||||
if (sq || dq) bs = !bs; break;
|
||||
if (sq || dq) bs = !bs;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return 0; /* incomplete directive "<!--#...-->" */
|
||||
|
|
Loading…
Reference in New Issue