From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 36CF98050 for ; Wed, 9 Apr 2014 12:50:12 -0500 (CDT) Message-ID: <53458854.3030908@sgi.com> Date: Wed, 09 Apr 2014 12:50:12 -0500 From: Mark Tinguely MIME-Version: 1.0 Subject: Re: [PATCH] xfsprogs: remove write-only assignments References: <53457FAF.7060208@redhat.com> In-Reply-To: <53457FAF.7060208@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Eric Sandeen Cc: xfs-oss On 04/09/14 12:13, Eric Sandeen wrote: > There are many instances where variable assignments are made, > but never read (or are re-assigned before they are read). > The Clang static analyzer finds these. > > Here's a chunk of what I think are trivial removals of such > assignments; other detections point to more serious problems > (or are shared w/ kernel code so should probably be fixed there > first). > > Signed-off-by: Eric Sandeen > --- > > These may be a bit tedious to review; perhaps graphical diff > w/ more context would help in some cases? > This patch length is not so bad. Light reading with lunch. They all look good to me. Reviewed-by: Mark Tinguely _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs