[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:
Arnaldo Carvalho de Melo 2007-04-01 09:30:21 -03:00
parent 1a9cabdbf8
commit 416f00a81b
1 changed files with 4 additions and 2 deletions

View File

@ -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 {
/*