From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Thu, 26 May 2016 08:37:08 -0400 (EDT) Subject: [Cluster-devel] [PATCH] GFS2: Avoid uninitialized variable warning (reprise) In-Reply-To: <1464196843-26009-1-git-send-email-anprice@redhat.com> References: <1464196843-26009-1-git-send-email-anprice@redhat.com> Message-ID: <1364902941.11057353.1464266228275.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | Commit 67893f12e attempted to fix these warnings: | | fs/gfs2/dir.c: In function 'get_first_leaf': | fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this | function [-Wmaybe-uninitialized] | fs/gfs2/dir.c: In function 'dir_split_leaf.isra.26': | fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this | function [-Wmaybe-uninitialized] | | but they persisted. Fix them once and for all by initializing leaf_no. | | Signed-off-by: Andrew Price ACK Bob Peterson