Commit c9e3ad60 authored by Dave Kleikamp's avatar Dave Kleikamp

JFS: Get rid of "may be used uninitialized" warnings

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent 5986a2ec
...@@ -1919,7 +1919,8 @@ static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, ...@@ -1919,7 +1919,8 @@ static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
* header ? * header ?
*/ */
if (tlck->type & tlckTRUNCATE) { if (tlck->type & tlckTRUNCATE) {
pxd_t pxd; /* truncated extent of xad */ /* This odd declaration suppresses a bogus gcc warning */
pxd_t pxd = pxd; /* truncated extent of xad */
int twm; int twm;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment