Project

General

Profile

Bug #9626

move 'static xuio_stats_t xuio_stats' to file where it use

Added by Igor Kozhukhov about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2018-06-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

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

History

#2

Updated by Electric Monk about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 857c96d257470e097e846ab8886580991b329c32

commit  857c96d257470e097e846ab8886580991b329c32
Author: Igor Kozhukhov <igor@dilos.org>
Date:   2018-08-13T17:24:13.000Z

    9626 move 'static xuio_stats_t xuio_stats' to file where it use
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF