libfdisk, unshare: fix gcc-4.9.4 warnings
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
51355bea70
commit
9eba847689
|
@ -2712,7 +2712,7 @@ int fdisk_gpt_set_npartitions(struct fdisk_context *cxt, uint32_t nents)
|
|||
struct fdisk_gpt_label *gpt;
|
||||
size_t new_size;
|
||||
uint32_t old_nents;
|
||||
uint64_t first_usable, last_usable;
|
||||
uint64_t first_usable, last_usable = 0ULL;
|
||||
int rc;
|
||||
|
||||
assert(cxt);
|
||||
|
|
|
@ -667,7 +667,7 @@ int main(int argc, char *argv[])
|
|||
.pid = 0,
|
||||
};
|
||||
|
||||
struct __user_cap_data_struct payload[_LINUX_CAPABILITY_U32S_3] = { 0 };
|
||||
struct __user_cap_data_struct payload[_LINUX_CAPABILITY_U32S_3] = {{ 0 }};
|
||||
int cap;
|
||||
uint64_t effective;
|
||||
|
||||
|
|
Loading…
Reference in New Issue