aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorDmitry Fleytman <dmitry@daynix.com>2016-06-04 10:02:43 +0300
committerPeter Maydell <peter.maydell@linaro.org>2016-06-06 09:42:54 +0100
commitde5dca1b792ada25c29a95c8f84e01f4300aef9c (patch)
tree71d71b66857e0be480039130d0675010328f2217 /gdbstub.c
parent6b3532b20b787cbd697a68b383232f5c3b39bd1e (diff)
e1000e: Fix build with gcc 4.6.3 and ust tracing
This patch fixes used-uninitialized false positive while compiling with ust tracing backend plus gcc 4.6.3: hw/net/e1000e.c: In function ‘e1000e_io_write’: hw/net/e1000e.c:170:39: error: ‘idx’ may be used uninitialized in this function [-Werror=uninitialized] hw/net/e1000e.c: In function ‘e1000e_io_read’: hw/net/e1000e.c:145:35: error: ‘idx’ may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make: *** [hw/net/e1000e.o] Error 1 Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-id: 1465023763-10773-1-git-send-email-dmitry@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions