8829 librdc: variable 'trc' set but not used

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

tsoome
illumos-gate
8829
13accc2...
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


yuripv
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. LGTM

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...