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:
7081b48
)
libparted/arch/linux.c: initialize task point to please GCC
author
Otavio Salvador
<otavio@debian.org>
Tue, 28 Nov 2006 19:36:03 +0000
(17:36 -0200)
committer
Otavio Salvador
<otavio@debian.org>
Tue, 28 Nov 2006 22:15:00 +0000
(20:15 -0200)
libparted/arch/linux.c
patch
|
blob
|
history
diff --git
a/libparted/arch/linux.c
b/libparted/arch/linux.c
index
e7d3bfd
..
86b0f0a
100644
(file)
--- a/
libparted/arch/linux.c
+++ b/
libparted/arch/linux.c
@@
-2279,8
+2279,8
@@
err:
static int
_dm_add_partition (PedDisk* disk, PedPartition* part)
{
- struct dm_task* task;
struct stat dev_stat;
+ struct dm_task* task = NULL;
int rc;
char* vol_name = NULL;
char* dev_name = NULL;