xfs
[Top] [All Lists]

Re: [PATCH 1/6] xfs: silence uninitialised f.file warning.

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 1/6] xfs: silence uninitialised f.file warning.
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Fri, 02 Nov 2012 16:23:02 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1351816724-3000-2-git-send-email-david@xxxxxxxxxxxxx>
References: <1351816724-3000-1-git-send-email-david@xxxxxxxxxxxxx> <1351816724-3000-2-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 11/01/12 19:38, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

Uninitialised variable build warning introduced by 2903ff0 ("switch
simple cases of fget_light to fdget"), gcc is not smart enough to
work out that the variable is not used uninitialised, and the commit
removed the initialisation at declaration that the old variable had.

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
---
Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>