From: johann Date: Thu, 28 May 2009 12:49:01 +0000 (+0000) Subject: Branch b_release_1_8_1 X-Git-Tag: v1_8_0_123~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7dd05943e421000322c739a2c533bc2ec0337eaf;p=fs%2Flustre-release.git Branch b_release_1_8_1 b=18092 Fix following warning: test_lock_cancel.c: In function 'main': test_lock_cancel.c:109: warning: 'fd' may be used uninitialized in this function make[5]: *** [test_lock_cancel.o] Error 1 --- diff --git a/lustre/liblustre/tests/mpi/test_lock_cancel.c b/lustre/liblustre/tests/mpi/test_lock_cancel.c index 338b5e3..e1d4bc3 100644 --- a/lustre/liblustre/tests/mpi/test_lock_cancel.c +++ b/lustre/liblustre/tests/mpi/test_lock_cancel.c @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {"dumpfile", 1, 0, 0}, {0, 0, 0, 0} }; - int fd; + int fd = 0; long time1, time2; struct stat statbuf;