11160 pylibbe: NULL pointer errors

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

tsoome
illumos-gate
11160
78d9890...
general
../common/libbe_py.c: In function 'convertBEInfoToDictionary':
../common/libbe_py.c:888:27: error: comparison between pointer and integer [-Werror]
  if (be->be_node_creation != NULL) {
                           ^~
../common/libbe_py.c: In function 'convertDatasetInfoToDictionary':
../common/libbe_py.c:961:25: error: comparison between pointer and integer [-Werror]
  if (ds->be_ds_creation != NULL) {
                         ^~
../common/libbe_py.c: In function 'convertSnapshotInfoToDictionary':
../common/libbe_py.c:981:31: error: comparison between pointer and integer [-Werror]
  if (ss->be_snapshot_creation != NULL) {
                               ^~
cc1: all warnings being treated as errors


ptribble
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...