diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-11-08 18:13:58 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2010-12-03 15:09:38 +0200 |
commit | bee70008074570ef2c368aec80918c2494065247 (patch) | |
tree | 24d40c4a509bcf2f63282fe9b30c11a0703e18de /hw/scsi-disk.c | |
parent | 48e15fc2de29276f0c93482f5175b95e50557fbf (diff) | |
download | qemu-bee70008074570ef2c368aec80918c2494065247.zip qemu-bee70008074570ef2c368aec80918c2494065247.tar.gz qemu-bee70008074570ef2c368aec80918c2494065247.tar.bz2 |
linux-user: remove unnecessary local from __get_user(), __put_user()
Remove an unnecessary local variable from the __get_user() and
__put_user() macros. This avoids confusing compilation failures
if the name of the local variable ('size') happens to be the
same as the variable the macro user is trying to read/write.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions