aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2016-10-31 17:50:44 -0400
committerPeter Maydell <peter.maydell@linaro.org>2016-11-01 09:31:53 +0000
commit02ba9265e8d65f24d0cdca158d96e0b0451f6b71 (patch)
treea288459002841de35a3d55b0a027eb3ff2f91363 /hw/9pfs
parentb90da81d9f2d3d974db13bc69f961974741b0e2e (diff)
migration: fix compiler warning on uninitialized variable
Some older GCC versions (e.g. 4.4.7) report a warning on an uninitialized variable for 'request', even though all possible code paths that reference 'request' will be initialized. To appease these versions, initialize the variable to 0. Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Message-id: 259818682e41b95ae60f1423b87954a3fe377639.1477950393.git.jcody@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/9pfs')
0 files changed, 0 insertions, 0 deletions