8777 krb5/plugins/kdb: variable set but not used

Review Request #716 - Created Nov. 6, 2017 and submitted

Information
Toomas Soome
illumos-gate
8777
e5a9a3f...
Reviewers
general
../hash/hash_page.c: In function '__kdb2_delpair':
../hash/hash_page.c:310:22: error: variable 'next_key' set but not used [-Werror=unused-but-set-variable]
  int16_t delta, len, next_key;
                      ^~~~~~~~

../hash/hash.c:332:10: error: variable 'nelem' set but not used [-Werror=unused-but-set-variable]
  int32_t nelem;
          ^~~~~
../hash/hash.c: In function 'hget_header':
../hash/hash.c:439:24: error: variable 'i' set but not used [-Werror=unused-but-set-variable]
  u_int32_t num_copied, i;
                        ^
../hash/hash_bigkey.c:199:12: error: variable 'bytes' set but not used [-Werror=unused-but-set-variable]
  u_int16_t bytes;
            ^~~~~

cc1: all warnings being treated as errors

  
Hans Rosenfeld
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...