aboutsummaryrefslogtreecommitdiff
path: root/util/module.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-06-24 22:52:29 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-10 17:06:33 +0200
commitb7bf8f5657d48e4625c86cd5f1d3cc83e830d8f7 (patch)
tree07db84b4153ad5536fed98f2d4eb7803acebc56c /util/module.c
parent8248c36a5db6ff7d5f07f05148be0dd0160e650c (diff)
oslib-posix: Fix new compiler error with -Wclobbered
Newer versions of gcc report a warning (or an error with -Werror) when compiler option -Wclobbered (or -Wextra) is active: util/oslib-posix.c:372:12: error: variable ‘hpagesize’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] The rewritten code fixes this warning: variable 'hpagesize' is now set and used in a block without any call of sigsetjmp or similar functions. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/module.c')
0 files changed, 0 insertions, 0 deletions