11138 libsun_ima: NULL pointer errors

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

tsoome
illumos-gate
11138
fae1163...
general
../common/ima.c: In function 'IMA_AddStaticDiscoveryTarget':
../common/ima.c:1334:20: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   *closeBracketPos = NULL;
                    ^
../common/ima.c:1349:25: error: comparison between pointer and integer [-Werror]
    if (*closeBracketPos != NULL) {
                         ^~
../common/ima.c:1370:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *colonPos = NULL;
              ^
../common/ima.c:1375:18: error: comparison between pointer and integer [-Werror]
    if (*colonPos != NULL) {
                  ^~
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...