8824 libadutils: variable 'class' set but not used

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

tsoome
illumos-gate
8824
15d1a47...
general
../common/srv_query.c:264:11: error: variable 'class' set but not used [-Werror=unused-but-set-variable]
  uint16_t class;
           ^~~~~
cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
jgmills
  1. I suppose you could write a new macro that only moves the pointer but doesn't set a value.  That would replace the
    existing NS_GET16 macro in those two places.  However, marking the variable as unused is also an adequate solution.
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...