coding guidelines: comply with MISRA Rule 15.6
- added missing braces Signed-off-by: Hess Nathan <nhess@baumer.com>
This commit is contained in:
parent
bc5d531165
commit
a1fc3b78ef
|
@ -117,8 +117,9 @@ static int vpf(struct _pfr *r, const char *f, va_list ap)
|
|||
int d = (v >> (i*4)) & 0xf;
|
||||
|
||||
sig += !!d;
|
||||
if (sig || i == 0)
|
||||
if (sig || i == 0) {
|
||||
pc(r, "0123456789abcdef"[d]);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue