From: johann Date: Thu, 28 May 2009 12:49:33 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~372 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=bbc6416a0e677a0bf8afc87ec9d77bd1056c88d4;p=fs%2Flustre-release.git Branch b1_8 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;