Finetuning false positive
This commit is contained in:
parent
fbe65a2d7d
commit
5e5b6c2069
@ -941,15 +941,14 @@ int main(int argc, char **argv, char **envp)
|
|||||||
ncomment++;
|
ncomment++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strncmp(&line[ii], "define", 6))
|
rhcomment = n;
|
||||||
|
|
||||||
|
if (!strncmp(&line[ii], "define", 6)
|
||||||
|
&& prevrhcmt != 0 && n != prevrhcmt)
|
||||||
{
|
{
|
||||||
rhcomment = n;
|
rhcomment = prevrhcmt;
|
||||||
if (prevrhcmt != 0 && n != prevrhcmt)
|
WARN("Wrong column position of comment right of code",
|
||||||
{
|
lineno, n);
|
||||||
rhcomment = prevrhcmt;
|
|
||||||
WARN("Wrong column position of comment right of code",
|
|
||||||
lineno, n);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user