From: Jens Axboe Date: Wed, 20 Dec 2006 10:26:11 +0000 (+0100) Subject: bsg: silence a bogus gcc warning X-Git-Tag: v2.6.23-rc1~782^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2ef7086a207d3d899ae88602a135fe1c24e1811f;p=linux-2.6-omap-h63xx.git bsg: silence a bogus gcc warning Signed-off-by: Jens Axboe --- diff --git a/block/bsg.c b/block/bsg.c index 6f05a397dc3..9d77a0c7245 100644 --- a/block/bsg.c +++ b/block/bsg.c @@ -302,7 +302,7 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr) { request_queue_t *q = bd->queue; struct request *rq; - int ret, rw; + int ret, rw = 0; /* shut up gcc */ unsigned int dxfer_len; void *dxferp = NULL;