From owner-cvs-src@FreeBSD.ORG Mon May 21 04:45:24 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1BB316A421; Mon, 21 May 2007 04:45:24 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1F513C448; Mon, 21 May 2007 04:45:24 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4L4jOF9003643; Mon, 21 May 2007 04:45:24 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4L4jOUi003642; Mon, 21 May 2007 04:45:24 GMT (envelope-from cperciva) Message-Id: <200705210445.l4L4jOUi003642@repoman.freebsd.org> From: Colin Percival Date: Mon, 21 May 2007 04:45:24 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 04:45:24 -0000 cperciva 2007-05-21 04:45:24 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_tar.c Log: Don't test for NULL when it is both unnecessary (the pointer is checked against NULL when it is first allocated) and pointless (we've already dereferenced the pointer several times). Found by: Coverity Prevent(tm) CID: 3204 Revision Changes Path 1.55 +1 -1 src/lib/libarchive/archive_read_support_format_tar.c