10730 dprov: NULL pointer errors

Review Request #1696 — Created April 11, 2019 and submitted

tsoome
illumos-gate
10730
8b0beba...
general
../../common/crypto/io/dprov.c: In function 'dprov_attach':
../../common/crypto/io/dprov.c:1782:24: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  softc->ds_prov_handle = NULL;
                        ^
../../common/crypto/io/dprov.c: In function 'dprov_detach':
../../common/crypto/io/dprov.c:1879:28: error: comparison between pointer and integer [-Werror]
  if (softc->ds_prov_handle != NULL)
                            ^~
cc1: all warnings being treated as errors


wiedi
  1. Ship It!
  2. 
      
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...