8829 librdc: variable 'trc' set but not used

Review Request #756 - Created Nov. 20, 2017 and submitted

Information
Toomas Soome
illumos-gate
8829
13accc2...
Reviewers
general
../common/rdcconfig.c:638:6: error: variable 'trc' set but not used [-Werror=unused-but-set-variable]
  int trc;
      ^~~
../common/rdcconfig.c: In function 'rdc_fsync':
../common/rdcconfig.c:682:6: error: variable 'trc' set but not used [-Werror=unused-but-set-variable]
  int trc;
      ^~~
../common/rdcconfig.c: In function 'rdc_rsync':
../common/rdcconfig.c:731:6: error: variable 'trc' set but not used [-Werror=unused-but-set-variable]
  int trc;
      ^~~
../common/rdcconfig.c: In function 'rdc_ursync':
../common/rdcconfig.c:791:6: error: variable 'trc' set but not used [-Werror=unused-but-set-variable]
  int trc;
      ^~~
cc1: all warnings being treated as errors

  
Yuri Pankov
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...