aboutsummaryrefslogtreecommitdiff
path: root/qobject/qdict.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-09-22 08:19:10 +0200
committerKevin Wolf <kwolf@redhat.com>2013-09-25 16:21:28 +0200
commitc3e4f43a99549daa6e9b87350922e8339341c2ab (patch)
treed13985f21f5cdd6c1c783e953f4beb08e53415a6 /qobject/qdict.c
parent030be32184034261da14693b69e9582f6fe4af9d (diff)
block: Fix compiler warning (-Werror=uninitialized)
The patch fixes a warning from gcc (Debian 4.6.3-14+rpi1) 4.6.3: block/stream.c:141:22: error: ‘copy’ may be used uninitialized in this function [-Werror=uninitialized] This is not a real bug - a better compiler would not complain. Now 'copy' has always a defined value, so the check for ret >= 0 can be removed. Signed-off-by: Stefan Weil <sw@weilnetz.de> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qobject/qdict.c')
0 files changed, 0 insertions, 0 deletions