summaryrefslogtreecommitdiffstats
path: root/src/parti386.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-08-23 16:01:55 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-08-23 16:01:55 +0200
commit90f2b63eac56a8c5dfb8d6471f817b3f9c9ecdc0 (patch)
tree5397292a9a47fd7eba91c3913f4fd396e0dccecc /src/parti386.c
parent643d625772c17a9467512f050b95e81b83b8594c (diff)
Code cleanup
Diffstat (limited to 'src/parti386.c')
-rw-r--r--src/parti386.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parti386.c b/src/parti386.c
index 673e1c3..f39b9ad 100644
--- a/src/parti386.c
+++ b/src/parti386.c
@@ -358,7 +358,6 @@ static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *li
static list_part_t *read_part_i386(disk_t *disk_car, const int verbose, const int saveheader)
{
unsigned int i;
- int res=0;
CHSgeometry_t geometry;
list_part_t *new_list_part=NULL;
unsigned char *buffer=(unsigned char *)MALLOC(disk_car->sector_size);
@@ -402,7 +401,6 @@ static list_part_t *read_part_i386(disk_t *disk_car, const int verbose, const in
if(new_partition->errcode!=BAD_NOERR)
{
screen_buffer_add("%s\n",errmsg_i386_entry2partition(new_partition->errcode));
- res|=1;
}
new_list_part=insert_new_partition(new_list_part,new_partition, 0, &insert_error);
if(insert_error>0)