Re: [PATCH] btrfs: relocation: fix unused variable

2019-01-29 Thread David Sterba
On Tue, Jan 29, 2019 at 04:21:27PM +0100, David Sterba wrote: > On Tue, Jan 29, 2019 at 02:01:46PM +0100, Anders Roxell wrote: > > When CONFIG_BRTFS_ASSERT isn't enabled, variable root_objectid isn't used. > > > > fs/btrfs/relocation.c: In function ‘insert_dirty_subv’: > > fs/btrfs/relocation.c:21

Re: [PATCH] btrfs: relocation: fix unused variable

2019-01-29 Thread David Sterba
On Tue, Jan 29, 2019 at 02:01:46PM +0100, Anders Roxell wrote: > When CONFIG_BRTFS_ASSERT isn't enabled, variable root_objectid isn't used. > > fs/btrfs/relocation.c: In function ‘insert_dirty_subv’: > fs/btrfs/relocation.c:2138:6: warning: unused variable ‘root_objectid’ > [-Wunused-variable] >