Revert "Fix uninitialized variable in part-id"
authorDavid Zeuthen <davidz@redhat.com>
Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)
This reverts commit dd48c454f14b6063f8584631f04bf4528969a82b.

src/probers/part-id.c

index 658e7d9..25d91f9 100644 (file)
@@ -190,7 +190,6 @@ get_part_table_device_file (struct udev_device *given_device,
 
   devpath = NULL;
   offset = 0;
-  partition_number = 0;
   ret = NULL;
   partition_table_syspath = NULL;
   alignment_offset = 0;