diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2008-04-18 20:41:51 +0200 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2008-04-18 20:41:51 +0200 |
commit | 5d4605190053c89af40c76ea84f2f11ea4fcd14e (patch) | |
tree | 493ee1254bb49e87229f623d4b33302ad15a508a /partutil | |
parent | d094bdc1026a350d2ff5e072115470409ed8d85d (diff) |
fixed a bunch of compiler warnings from the Intel compiler
Fixed a bunch of compiler warnings from the Intel compiler
(cce/icc 10.1.015). Closed a small memory leak in
linux/hal-file-monitor.c
Diffstat (limited to 'partutil')
-rw-r--r-- | partutil/partutil.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/partutil/partutil.c b/partutil/partutil.c index c623ca2e..9c2930f9 100644 --- a/partutil/partutil.c +++ b/partutil/partutil.c @@ -776,7 +776,6 @@ part_table_parse_apple (int fd, guint64 offset, guint64 size) /* more stuff */ } __attribute__ ((packed)) mac_part; int block_size; - int block_count; int map_count; HAL_INFO (("Entering Apple parser")); @@ -798,7 +797,6 @@ part_table_parse_apple (int fd, guint64 offset, guint64 size) } block_size = GUINT16_FROM_BE (mac_header.block_size); - block_count = GUINT32_FROM_BE (mac_header.block_count); /* num blocks on whole disk */ HAL_INFO (("Mac MAGIC found, block_size=%d", block_size)); |