mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 07:04:44 +00:00
bcachefs: Fix a spurious gcc warning
*i is used as an output parameter, but gcc isn't noticing that. Oh well. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
16e671037a
commit
d9b022fee6
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ int bch2_trans_commit(struct btree_trans *trans,
|
|||
unsigned flags)
|
||||
{
|
||||
struct bch_fs *c = trans->c;
|
||||
struct btree_insert_entry *i;
|
||||
struct btree_insert_entry *i = NULL;
|
||||
unsigned orig_mem_top = trans->mem_top;
|
||||
int ret = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue