[INN-COMMITTERS] inn (75 files)

Russ Allbery Russ_Allbery at isc.org
Mon Jan 13 07:59:44 UTC 2003


    Date: Sunday, January 12, 2003 @ 23:59:39
  Author: rra
    Path: /dist1/cvs/isc/inn/inn

Modified: backends/actsync.c backends/archive.c backends/batcher.c
          backends/buffchan.c backends/crosspost.c backends/cvtbatch.c
          backends/filechan.c backends/innxbatch.c backends/innxmit.c
          backends/map.c backends/ninpaths.c backends/nntpget.c
          backends/overchan.c backends/shlock.c backends/shrinkfile.c
          contrib/auth_pass.c expire/expire.c expire/grephistory.c
          expire/makedbz.c expire/makehistory.c frontends/ctlinnd.c
          frontends/decode.c frontends/encode.c frontends/feedone.c
          frontends/getlist.c frontends/inews.c frontends/rnews.c
          frontends/sys2nf.c innd/art.c innd/cc.c innd/chan.c innd/icd.c
          innd/innd.c innd/lc.c innd/proc.c innd/python.c innd/site.c
          innd/status.c innd/util.c innd/wip.c innfeed/article.c
          innfeed/connection.c innfeed/endpoint.c innfeed/host.c
          innfeed/imap_connection.c innfeed/innlistener.c innfeed/main.c
          innfeed/misc.c innfeed/tape.c lib/clientactive.c lib/clientlib.c
          lib/dbz.c lib/defdist.c lib/getfqdn.c lib/getmodaddr.c
          lib/inndcomm.c lib/localopen.c lib/parsedate.y lib/readin.c
          lib/remopen.c lib/reservedfd.c lib/sendpass.c nnrpd/article.c
          nnrpd/commands.c nnrpd/misc.c nnrpd/newnews.c nnrpd/nnrpd.c
          nnrpd/post.c nnrpd/python.c nnrpd/tls.c storage/cnfs/cnfs.c
          storage/expire.c storage/ov.c storage/timecaf/caf.c
          storage/timecaf/timecaf.c

Remove all the (void) casts on function calls whose return values that
we're intentionally not checking (generally fclose, close, and fprintf).
Also remove all (void) references to parameters to silence warnings and
instead use UNUSED.  Retain the (void) casts in the Perl code that are
still necessary to avoid warnings about the results of an expression being
discarded.


---------------------------+
 backends/actsync.c        |   10 +-
 backends/archive.c        |   42 ++++++------
 backends/batcher.c        |   34 ++++-----
 backends/buffchan.c       |   24 +++---
 backends/crosspost.c      |   32 ++++-----
 backends/cvtbatch.c       |   16 ++--
 backends/filechan.c       |    6 -
 backends/innxbatch.c      |   58 ++++++++--------
 backends/innxmit.c        |   84 ++++++++++++------------
 backends/map.c            |    6 -
 backends/ninpaths.c       |    4 -
 backends/nntpget.c        |   34 ++++-----
 backends/overchan.c       |    4 -
 backends/shlock.c         |   14 ++--
 backends/shrinkfile.c     |   34 ++++-----
 contrib/auth_pass.c       |    4 -
 expire/expire.c           |   46 ++++++-------
 expire/grephistory.c      |    6 -
 expire/makedbz.c          |   18 ++---
 expire/makehistory.c      |   12 +--
 frontends/ctlinnd.c       |   20 ++---
 frontends/decode.c        |    8 +-
 frontends/encode.c        |   12 +--
 frontends/feedone.c       |   18 ++---
 frontends/getlist.c       |   16 ++--
 frontends/inews.c         |   54 +++++++--------
 frontends/rnews.c         |   58 ++++++++--------
 frontends/sys2nf.c        |   36 +++++-----
 innd/art.c                |   32 ++++-----
 innd/cc.c                 |   28 ++++----
 innd/chan.c               |   10 +-
 innd/icd.c                |    6 -
 innd/innd.c               |    6 -
 innd/lc.c                 |    4 -
 innd/proc.c               |    6 -
 innd/python.c             |    4 -
 innd/site.c               |   60 ++++++++---------
 innd/status.c             |    4 -
 innd/util.c               |    4 -
 innd/wip.c                |    4 -
 innfeed/article.c         |    6 -
 innfeed/connection.c      |   41 +++--------
 innfeed/endpoint.c        |    9 --
 innfeed/host.c            |   30 +++-----
 innfeed/imap_connection.c |    6 -
 innfeed/innlistener.c     |    8 --
 innfeed/main.c            |   35 ++--------
 innfeed/misc.c            |    8 --
 innfeed/tape.c            |   24 ++----
 lib/clientactive.c        |   14 ++--
 lib/clientlib.c           |   24 +++---
 lib/dbz.c                 |    4 -
 lib/defdist.c             |   10 +-
 lib/getfqdn.c             |   10 +-
 lib/getmodaddr.c          |    6 -
 lib/inndcomm.c            |   18 ++---
 lib/localopen.c           |   12 +--
 lib/parsedate.y           |   14 ++--
 lib/readin.c              |    8 +-
 lib/remopen.c             |   16 ++--
 lib/reservedfd.c          |    8 +-
 lib/sendpass.c            |   12 +--
 nnrpd/article.c           |    6 -
 nnrpd/commands.c          |   30 ++++----
 nnrpd/misc.c              |   12 +--
 nnrpd/newnews.c           |    4 -
 nnrpd/nnrpd.c             |   24 +++---
 nnrpd/post.c              |  108 +++++++++++++++---------------
 nnrpd/python.c            |    4 -
 nnrpd/tls.c               |    2 
 storage/cnfs/cnfs.c       |   14 ++--
 storage/expire.c          |   34 ++++-----
 storage/ov.c              |   38 +++++-----
 storage/timecaf/caf.c     |  154 ++++++++++++++++++++++----------------------
 storage/timecaf/timecaf.c |    6 -
 75 files changed, 788 insertions(+), 849 deletions(-)


More information about the inn-committers mailing list