10316 tic: NULL pointer errors

Review Request #1409 — Created Jan. 28, 2019 and submitted

tsoome
illumos-gate
10316
75632cf...
general
tic_scan.c: In function 'get_token':
    tic_scan.c:234:11: error: comparison between pointer and integer [-Werror]
        if (ch != NULL && ch != ',')
               ^~
    tic_scan.c:236:11: error: comparison between pointer and integer [-Werror]
        if (ch == NULL)
               ^~
    tic_scan.c: In function 'trans_string':
    tic_scan.c:496:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^


  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
domag02
  1. Space followed-by tab nits.
  2. usr/src/cmd/tic/tic_scan.c (Diff revision 1)
     
     
    Space followed by tab.
  3. usr/src/cmd/tic/tic_scan.c (Diff revision 1)
     
     
  4. 
      
tsoome
rm
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...