raw-win32.c: fixed compilation error
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 22 May 2015 04:12:13 +0000 (13:12 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Thu, 20 Aug 2015 07:20:35 +0000 (16:20 +0900)
Fixed compilation error when CONFIG_MARU was not given.

Change-Id: Ibf19aec67098ca6754e4f42e47645e543ddb60f5
(cherry picked from commit 3604b9a9d8c8896ce7a456078258d92c44e90d8c)
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
block/raw-win32.c

index 7a0b766243fb7b2201851001e72d21bf9042b4ce..d28797ada4fa604dbef571d35c638b7b451702d0 100644 (file)
@@ -652,7 +652,6 @@ static int hdev_open(BlockDriverState *bs, QDict *options, int flags,
     BDRVRawState *s = bs->opaque;
 #ifndef CONFIG_MARU
     int access_flags, create_flags;
-    int ret = 0;
     DWORD overlapped;
 #else
     int open_flags;