OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45e33f
)
mac.c: remove dead code
author
Jim Meyering
<meyering@redhat.com>
Mon, 21 Jul 2008 14:27:52 +0000
(16:27 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 24 Jul 2009 13:04:42 +0000
(15:04 +0200)
* libparted/labels/mac.c (mac_partition_new): Remove dead code.
Return "NULL", not "0".
libparted/labels/mac.c
patch
|
blob
|
history
diff --git
a/libparted/labels/mac.c
b/libparted/labels/mac.c
index
4f62ff7
..
ee91fb3
100644
(file)
--- a/
libparted/labels/mac.c
+++ b/
libparted/labels/mac.c
@@
-1170,11
+1170,10
@@
mac_partition_new (
}
return part;
- free (mac_data);
error_free_part:
free (part);
error:
- return
0
;
+ return
NULL
;
}
static PedPartition*