OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5986a2e
)
JFS: Get rid of "may be used uninitialized" warnings
author
Dave Kleikamp
<shaggy@linux.vnet.ibm.com>
Fri, 9 Feb 2007 21:36:47 +0000
(15:36 -0600)
committer
Dave Kleikamp
<shaggy@linux.vnet.ibm.com>
Fri, 9 Feb 2007 21:36:47 +0000
(15:36 -0600)
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_txnmgr.c
patch
|
blob
|
history
diff --git
a/fs/jfs/jfs_txnmgr.c
b/fs/jfs/jfs_txnmgr.c
index
6988a10
..
03893ac
100644
(file)
--- a/
fs/jfs/jfs_txnmgr.c
+++ b/
fs/jfs/jfs_txnmgr.c
@@
-1919,7
+1919,8
@@
static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
* header ?
*/
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;
/*