mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed compiler warnings about possible uninitialized variables
This commit is contained in:
@@ -2420,7 +2420,7 @@ static int find_uniq_filename(char *name, ulong next_log_number)
|
||||
char buff[FN_REFLEN], ext_buf[FN_REFLEN];
|
||||
struct st_my_dir *dir_info;
|
||||
reg1 struct fileinfo *file_info;
|
||||
ulong max_found, next, number;
|
||||
ulong max_found, next, UNINIT_VAR(number);
|
||||
size_t buf_length, length;
|
||||
char *start, *end;
|
||||
int error= 0;
|
||||
|
Reference in New Issue
Block a user