[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 17 of 18] tools/blktap2: remove unused labels


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Fri, 30 Mar 2012 10:25:34 +0200
  • Delivery-date: Fri, 30 Mar 2012 08:26:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1333048998 -7200
# Node ID 8f3eaf8d99f50288eaef0b4c5703d65bb4cb30bd
# Parent  9dbadf67b1b76d5864d1db715c1cda72cff53d16
tools/blktap2: remove unused labels

vhd-util-read.c:478:2: warning: label 'print' defined but not used 
[-Wunused-label]
vhd-util-set-field.c:99:2: warning: label 'done' defined but not used 
[-Wunused-label]

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 9dbadf67b1b7 -r 8f3eaf8d99f5 tools/blktap2/vhd/lib/vhd-util-read.c
--- a/tools/blktap2/vhd/lib/vhd-util-read.c
+++ b/tools/blktap2/vhd/lib/vhd-util-read.c
@@ -475,7 +475,6 @@ vhd_test_bitmap(vhd_context_t *vhd, uint
                else
                        bit = vhd_bitmap_test(vhd, buf, blk);
 
-       print:
                printf("block %s: ", conv(hex, blk));
                printf("sec: %s: %d\n", conv(hex, sec), bit);
        }
diff -r 9dbadf67b1b7 -r 8f3eaf8d99f5 tools/blktap2/vhd/lib/vhd-util-set-field.c
--- a/tools/blktap2/vhd/lib/vhd-util-set-field.c
+++ b/tools/blktap2/vhd/lib/vhd-util-set-field.c
@@ -96,7 +96,6 @@ vhd_util_set_field(int argc, char **argv
 
        err = vhd_write_footer(&vhd, &vhd.footer);
                
- done:
        vhd_close(&vhd);
        return err;
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.