8462 idmap: door_retried may be used uninitialized

Review Request #619 — Created July 5, 2017 and submitted

tsoome
illumos-gate
8462
e7429a0...
general
../../common/idmap/idmap_kapi.c: In function 'kidmap_call_door':
../../common/idmap/idmap_kapi.c:218:6: error: 'door_retried' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   if (door_retried)
      ^
cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
ptribble
  1. Ship It!
  2. 
      
tsoome
jgmills
  1. I also got this same error with gcc-4.9.4 and used the same fix.

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...