8738 svc/configd: variable 'event_id' set but not used

Review Request #689 — Created Oct. 27, 2017 and submitted

tsoome
illumos-gate
8738
be9b1ba...
general
rc_node.c: In function 'rc_node_delete':
rc_node.c:4707:13: error: variable 'event_id' set but not used [-Werror=unused-but-set-variable]
  au_event_t event_id = 0;
             ^~~~~~~~
cc1: all warnings being treated as errors


andy_js
  1. Is it the native build that generates this warning?

    1. yes. since with native build the smf_audit_event() will not call anything.

    2. Why not ifndef all of the audit related stuff out then?

  2. 
      
tsoome
andy_js
  1. Much better.

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...