cvs commit: src/lib/libarchive archive_write_disk.c

[ Available lists | Index of cvs-src | Month of May 2007 | Week of 21 May 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Colin Percival <cperciva@FreeBSD.org>
Date
21 May 2007 04:22:38
Subject
cvs commit: src/lib/libarchive archive_write_disk.c
Message-ID
200705210422.l4L4Mcwb080606@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.084 seconds