11171 pam_modules: NULL pointer errors

Review Request #1956 — Created June 1, 2019 and submitted

tsoome
illumos-gate
11171
d8242f5...
general
../dhkeys.c: In function 'remove_key':
../dhkeys.c:411:30: error: comparison between pointer and integer [-Werror]
  if (uname == NULL || *uname == NULL) {
                              ^~
cc1: all warnings being treated as errors


  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
ptribble
  1. Ship It!
  2. 
      
domag02
  1. C-style.
  2. usr/src/lib/pam_modules/dhkeys/dhkeys.c (Diff revision 1)
     
     
    "If one arm of an if-else statement contains braces, all arms should contain braces."
  3. usr/src/lib/pam_modules/dhkeys/dhkeys.c (Diff revision 1)
     
     
    "If one arm of an if-else statement contains braces, all arms should contain braces."
  4. 
      
tsoome
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...