From: adilger Date: Wed, 16 May 2007 22:31:28 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_7_100~97 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9046b0cdaebec8c8567f3bb9dd537b5d5641f8c2;p=fs%2Flustre-release.git Branch HEAD Quiet warning about use of uninitialized variable. --- diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index e801dc6..b7a7d59 100644 --- 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