diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-07-20 17:52:52 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@wdc.com> | 2020-07-20 17:57:50 +0900 |
commit | 01b2651cfb20ba38429cdb47c68f36e56a2d3cb4 (patch) | |
tree | 90f0d7cf5d7c99404e1ee3730c01b02804da49e0 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5714ee50bb4375bd586858ad800b1d9772847452 (diff) |
zonefs: Fix compilation warning
Avoid the compilation warning "Variable 'ret' is reassigned a value
before the old one has been used." in zonefs_create_zgroup() by setting
ret for the error path only if an error happens.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions