1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

gcc: ensure num has always initilized value

This commit is contained in:
Zdenek Kabelac 2024-03-25 11:44:36 +01:00
parent bca6f58848
commit 1ba2d40473

View File

@ -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 hash = 0;
int names_len = 0;
int len, num, pos;
int len, pos, num = 0;
int fb_size, fb_bytes, fc_bytes;
int file_exists;
int ret = 0;