8854 libm: variable set but not used

Review Request #780 — Created Nov. 21, 2017 and submitted

tsoome
illumos-gate
8854
66a78a2...
general

../common/LD/tanhl.c: In function 'tanhl':
../common/LD/tanhl.c:74:23: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile long double dummy;
^~~

../common/LD/j0l.c:164:13: error: variable 'd' set but not used [-Werror=unused-but-set-variable]
GENERIC z, d, s, c, ss, cc, u, v;
^
../common/LD/asinhl.c:44:23: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile long double dummy;
^~~

../common/m9x/__fex_i386.c:575:17: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
volatile int c;
^
../common/R/cosf.c:79:15: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
volatile int i;
^

../common/R/floorf.c:59:17: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile float dummy;
^~
../common/R/floorf.c: In function 'floorf':
../common/R/floorf.c:87:17: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile float dummy;
^
~

../common/R/sinf.c:79:15: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
volatile int i;
^
../common/R/sincosf.c:101:15: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
volatile int i;
^

../common/R/tanf.c:79:15: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
volatile int i;
^

../common/R/rintf.c: In function 'anintf':
../common/R/rintf.c:88:17: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile float dummy;
^~
../common/R/rintf.c: In function 'nintf':
../common/R/rintf.c:125:17: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile float dummy;
^
~

../common/R/ilogbf.c: In function 'raise_invalid':
../common/R/ilogbf.c:61:19: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/R/atanf.c: In function 'atanf':
../common/R/atanf.c:107:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/R/ilogbf.c:61:19: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/m9x/nexttowardl.c:107:24: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile long double dummy;
^~~

../common/LD/nextafterl.c:107:24: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile long double dummy;
^~~

../common/C/atan2.c:413:15: error: variable 'inexact' set but not used [-Werror=unused-but-set-variable]
volatile int inexact;
^~~

../common/C/tanh.c:73:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/C/atan2.c:413:15: error: variable 'inexact' set but not used [-Werror=unused-but-set-variable]
volatile int inexact;
^~~

../common/C/tanh.c:73:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/C/atan2.c:413:15: error: variable 'inexact' set but not used [-Werror=unused-but-set-variable]
volatile int inexact;
^~~

../common/C/tanh.c:73:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/C/nextafter.c:40:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/C/ilogb.c:65:19: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile double dummy;
^~~

../common/C/exp.c:296:18: error: variable 'dummy' set but not used [-Werror=unused-but-set-variable]
volatile int dummy;
^~~
cc1: all warnings being treated as errors



yuripv
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...