Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 04:22:38 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_write_disk.c
Message-ID:  <200705210422.l4L4Mcwb080606@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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