move 'static xuio_stats_t xuio_stats' to file where it use
zfs - Zettabyte File System
we have definition of 'static xuio_stats_t xuio_stats' in file dmu_impl.h and gcc5x and newer gcc complain about 'static variable defined but not used'
for reduce gcc warning we should move definition to file dmu.c
Updated by Electric Monk about 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 857c96d257470e097e846ab8886580991b329c32 Author: Igor Kozhukhov <email@example.com> Date: 2018-08-13T17:24:13.000Z 9626 move 'static xuio_stats_t xuio_stats' to file where it use Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>