Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911b880
)
Branch b1_6
author
adilger
<adilger>
Thu, 17 May 2007 16:53:46 +0000
(16:53 +0000)
committer
adilger
<adilger>
Thu, 17 May 2007 16:53:46 +0000
(16:53 +0000)
Quiet warning about use of uninitialized variable.
lustre/include/liblustre.h
patch
|
blob
|
history
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
e801dc6
..
b7a7d59
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-615,7
+615,7
@@
static inline int capable(int cap)
.sleepers = LIST_HEAD_INIT(HEAD.sleepers) \
}
#define init_waitqueue_head(l) INIT_LIST_HEAD(&(l)->sleepers)
-#define wake_up(l) do { int a; a++; } while (0)
+#define wake_up(l) do { int a
= 0
; a++; } while (0)
#define TASK_INTERRUPTIBLE 0
#define TASK_UNINTERRUPTIBLE 1
#define TASK_RUNNING 2