Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 20:53:55 +0000 (UTC)
From:      David Malone <dwmalone@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/xlint/xlint xlint.c
Message-ID:  <201001052054.o05KsB3k040853@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dwmalone    2010-01-05 20:53:55 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/xlint/xlint  xlint.c 
  Log:
  SVN rev 201610 on 2010-01-05 20:53:55Z by dwmalone
  
  1) Make usage() as dead2 - it helps the compiler know that some vars
  are not used uninitialised.
  2) Fix some constness problems.
  3) Avoid a signedness problem by casting to size_t. If bn != stuff,
  than stuff-1-bn should be > 0.
  
  Revision  Changes    Path
  1.28      +8 -7      src/usr.bin/xlint/xlint/xlint.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001052054.o05KsB3k040853>