11403 pools: NULL pointer errors

Review Request #2125 - Created July 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
11403
477eb8d...
Reviewers
general
../jpool.c: In function 'Java_com_sun_solaris_service_pools_PoolInternal_pool_1resource_1xtransfer':
../jpool.c:913:12: error: return makes integer from pointer without a cast [-Werror=int-conversion]
     return (NULL);
            ^

poolcfg.y: In function 'get_cpu':
poolcfg.y:1497:20: error: comparison between pointer and integer [-Werror]
  for (c = name; *c != NULL; c++) {
                    ^~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...