aboutsummaryrefslogtreecommitdiff
path: root/qemu-tls.h
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2011-10-31 08:54:09 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 10:58:08 -0500
commit3e837b2c05bc63fe2226baf3c29923d5a688593f (patch)
tree874e0771980608b9ea9645edddeffddceda6889c /qemu-tls.h
parentc2a8238a2c1e37a2ae6d628a2b7bd95d1b5f1a89 (diff)
downloadqemu-3e837b2c05bc63fe2226baf3c29923d5a688593f.zip
qemu-3e837b2c05bc63fe2226baf3c29923d5a688593f.tar.gz
qemu-3e837b2c05bc63fe2226baf3c29923d5a688593f.tar.bz2
Error check find_ram_offset
Spotted via code review, we initialize offset to 0 to avoid a compiler warning, but in the unlikely case that offset is never set to something else, we should abort instead of return a value that will almost certainly cause problems. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-tls.h')
0 files changed, 0 insertions, 0 deletions