pcp
[Top] [All Lists]

pmdagfs2: gcc -Wmaybe-uninitialized compilation warnings fix

To: Nathan Scott <nathans@xxxxxxxxxx>, Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: pmdagfs2: gcc -Wmaybe-uninitialized compilation warnings fix
From: Paul Evans <pevans@xxxxxxxxxx>
Date: Tue, 25 Jun 2013 14:04:23 +0100
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6
Hi,

I have pushed a fix to correct the gcc -Wmaybe-uninitialized as discovered by Ken the pmdagfs2 code.

Made changes in lock_time.c to ensure that glockA and glockB are correctly initialized before having glock values from the GFS2 filesystem assigned to them from the hash-map.

This fix is available at: git://github.com/pauljevans/pcp.git dev

Cheers,

Paul.

<Prev in Thread] Current Thread [Next in Thread>
  • pmdagfs2: gcc -Wmaybe-uninitialized compilation warnings fix, Paul Evans <=