diff --git a/qemu-img.c b/qemu-img.c index 0b59cfda218faeb3609c7afd49b95b37e2f79778..555ab5fc467de96025ad38724663720e626f6b8a 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -751,8 +751,7 @@ static void img_snapshot(int argc, char **argv) BlockDriverState *bs; QEMUSnapshotInfo sn; char *filename, *snapshot_name = NULL; - char c; - int ret; + int c, ret; int action = 0; qemu_timeval tv;