cvs commit: src/lib/libarchive archive_write_disk.c

Colin Percival cperciva at FreeBSD.org
Mon May 21 04:22:38 UTC 2007


cperciva    2007-05-21 04:22:38 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_write_disk.c 
  Log:
  Remove pointless code: Don't assign a value to a variable when we're
  going to overwrite it with a new value a few lines later.
  
  Visual inspection of the surrounding code indicates that the code does
  what it's supposed to do; i.e., the pointless code wasn't supposed to
  be doing something other than what it was doing.
  
  CID:            3323
  Found by:       Coverity Prevent(tm)
  
  Revision  Changes    Path
  1.11      +0 -1      src/lib/libarchive/archive_write_disk.c


More information about the cvs-src mailing list