summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-04 11:53:53 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-04 11:53:53 +0000
commitd94888e35b064df49c8059dfe1f67563e011579e (patch)
tree2766b46d989868db7044e79f001582a91f14e16f
parentFuse EQ and NE handling in tcg_out_brcond2 (diff)
downloadqemu-kvm-d94888e35b064df49c8059dfe1f67563e011579e.tar.gz
qemu-kvm-d94888e35b064df49c8059dfe1f67563e011579e.tar.bz2
qemu-kvm-d94888e35b064df49c8059dfe1f67563e011579e.zip
Add missing return
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4846 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--nbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nbd.c b/nbd.c
index 306d1fa28..e9308ee04 100644
--- a/nbd.c
+++ b/nbd.c
@@ -463,6 +463,7 @@ static int nbd_receive_request(int csock, struct nbd_request *request)
errno = EINVAL;
return -1;
}
+ return 0;
}
int nbd_receive_reply(int csock, struct nbd_reply *reply)