mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
gcc: ensure num has always initilized value
This commit is contained in:
parent
bca6f58848
commit
1ba2d40473
@ -1545,7 +1545,7 @@ int device_ids_write(struct cmd_context *cmd)
|
|||||||
uint32_t df_major = 0, df_minor = 0, df_counter = 0;
|
uint32_t df_major = 0, df_minor = 0, df_counter = 0;
|
||||||
uint32_t hash = 0;
|
uint32_t hash = 0;
|
||||||
int names_len = 0;
|
int names_len = 0;
|
||||||
int len, num, pos;
|
int len, pos, num = 0;
|
||||||
int fb_size, fb_bytes, fc_bytes;
|
int fb_size, fb_bytes, fc_bytes;
|
||||||
int file_exists;
|
int file_exists;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user