Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2009 18:24:14 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191524 - head/lib/libarchive
Message-ID:  <200904261824.n3QIOEh8091042@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kientzle
Date: Sun Apr 26 18:24:14 2009
New Revision: 191524
URL: http://svn.freebsd.org/changeset/base/191524

Log:
  Remove an unused variable.
  
  Thanks to:	Christoph Mallon

Modified:
  head/lib/libarchive/archive_read_support_format_empty.c

Modified: head/lib/libarchive/archive_read_support_format_empty.c
==============================================================================
--- head/lib/libarchive/archive_read_support_format_empty.c	Sun Apr 26 18:10:07 2009	(r191523)
+++ head/lib/libarchive/archive_read_support_format_empty.c	Sun Apr 26 18:24:14 2009	(r191524)
@@ -59,10 +59,9 @@ archive_read_support_format_empty(struct
 static int
 archive_read_format_empty_bid(struct archive_read *a)
 {
-	const void *h;
 	ssize_t avail;
 
-	h = __archive_read_ahead(a, 1, &avail);
+	(void)__archive_read_ahead(a, 1, &avail);
 	if (avail != 0)
 		return (-1);
 	return (1);



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