8851 libast: parameter/variable set but not used

Review Request #777 - Created Nov. 21, 2017 and submitted

Information
Toomas Soome
illumos-gate
8851
d81e5ee...
Reviewers
general
../common/cdt/dtview.c:41:12: error: variable 'lk' set but not used [-Werror=unused-but-set-variable]
  int  cmp, lk, sz, ky;
            ^~

../common/disc/sfdcfilter.c: In function 'filterseek':
../common/disc/sfdcfilter.c:115:35: error: parameter 'f' set but not used [-Werror=unused-but-set-parameter]
 static Sfoff_t filterseek(Sfio_t* f, Sfoff_t addr, int offset, Sfdisc_t* disc)
                                   ^
../common/disc/sfdcfilter.c:115:46: error: parameter 'addr' set but not used [-Werror=unused-but-set-parameter]
 static Sfoff_t filterseek(Sfio_t* f, Sfoff_t addr, int offset, Sfdisc_t* disc)
                                              ^~~~
../common/disc/sfdcfilter.c:115:56: error: parameter 'offset' set but not used [-Werror=unused-but-set-parameter]
 static Sfoff_t filterseek(Sfio_t* f, Sfoff_t addr, int offset, Sfdisc_t* disc)
                                                        ^~~~~~
../common/disc/sfdcfilter.c:115:74: error: parameter 'disc' set but not used [-Werror=unused-but-set-parameter]
 static Sfoff_t filterseek(Sfio_t* f, Sfoff_t addr, int offset, Sfdisc_t* disc)

cc1: all warnings being treated as errors

  
Andrew Stormont
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...