[BACK]Return to msg_132.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/tests/usr.bin/xlint/lint1/msg_132.c between version 1.18 and 1.19

version 1.18, 2022/06/16 16:58:36 version 1.19, 2022/06/19 12:14:34
Line 143  to_bool(long a, long b)
Line 143  to_bool(long a, long b)
 const char *  const char *
 cover_build_plus_minus(const char *arr, double idx)  cover_build_plus_minus(const char *arr, double idx)
 {  {
         /* expect+3: error: operands of '+' have incompatible types (pointer != double) [107] */          /* expect+3: error: operands of '+' have incompatible types 'pointer' and 'double' [107] */
         /* expect+2: warning: function 'cover_build_plus_minus' expects to return value [214] */          /* expect+2: warning: function 'cover_build_plus_minus' expects to return value [214] */
         if (idx > 0.0)          if (idx > 0.0)
                 return arr + idx;                  return arr + idx;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>