8824 libadutils: variable 'class' set but not used
Review Request #751 — Created Nov. 20, 2017 and submitted
../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
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.