8458 auditd_plugins: temp_minfree may be used uninitialized

Review Request #615 — Created July 4, 2017 and submitted

tsoome
illumos-gate
8458
684f401...
general
../binfile.c:355:25: error: 'temp_minfree' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if ((temp_minfree < 0) || (temp_minfree > 100))
      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


igork
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
tsoome
jgmills
  1. This is the same error I got with gcc-4.9.4 . The fix was also the same.

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...