mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-08 11:57:44 +08:00
Init prev_name (#2615)
Co-authored-by: heran yang <heran.yang@seafile.com>
This commit is contained in:
parent
6bd36a9575
commit
f89bdb4b55
@ -1974,7 +1974,7 @@ int write_index(struct index_state *istate, int newfd)
|
||||
struct cache_entry **cache = istate->cache;
|
||||
int entries = istate->cache_nr;
|
||||
SeafStat st;
|
||||
const char *prev_name;
|
||||
const char *prev_name = NULL;
|
||||
int ret = 0;
|
||||
|
||||
memset (&info, 0, sizeof(info));
|
||||
|
Loading…
Reference in New Issue
Block a user