[LIB]: Emit comment about moving to the padding in class__move_member only if in verbose mode
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
parent
1a9cabdbf8
commit
416f00a81b
|
@ -2011,8 +2011,10 @@ static void class__move_member(struct class *class, struct class_member *dest,
|
|||
* No, so just add from_size to the padding:
|
||||
*/
|
||||
class->padding += from_size;
|
||||
fprintf(fp, "/* adding %zd bytes from %s to "
|
||||
"the padding */\n", from_size, from->name);
|
||||
if (verbose)
|
||||
fprintf(fp, "/* adding %zd bytes from %s to "
|
||||
"the padding */\n",
|
||||
from_size, from->name);
|
||||
}
|
||||
} else {
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue