On 11/03/2016 03:53 PM, Eric Blake wrote:
dutil.c: In function 'rng_validate':
dutil.c:324:5: warning: this 'if' clause does not guard...
[-Wmisleading-indentation]
if (r != 0 && ncf->errcode == NETCF_NOERROR)
^~
dutil.c:328:2: note: ...this statement, but the latter is misleadingly indented
as if it is guarded by the 'if'
xmlRelaxNGFreeValidCtxt(ctxt);
^~~~~~~~~~~~~~~~~~~~~~~
The warning is caused because the 'if' was indented with four spaces,
while the 'xmlRelaxNGFreeValidCtxt' was indented with TAB; and gcc
couldn't figure out that we were asking for TAB to represent 4 instead
of 8 spaces. Rather than add more TABs, I'd rather nuke them all.
Patch best viewed with 'git diff -b'.
ACK. Good riddance. (In all these years I never noticed it because the
emacs directives hid it from me)
_______________________________________________
netcf-devel mailing list -- netcf-devel@lists.fedorahosted.org
To unsubscribe send an email to netcf-devel-le...@lists.fedorahosted.org