Pass a pointer to warn2 so the warn2 == IN_ALL would not be an
always-false condition.
This commit is contained in:
parent
dcbe57056a
commit
5f78e537d9
@ -177,7 +177,7 @@ int * warnp;
|
||||
{
|
||||
int warn2 = IN_SOME;
|
||||
|
||||
pt = _fmt(tptr->c_fmt, t, pt, ptlim, warnp);
|
||||
pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2);
|
||||
if (warn2 == IN_ALL)
|
||||
warn2 = IN_THIS;
|
||||
if (warn2 > *warnp)
|
||||
|
Loading…
Reference in New Issue
Block a user