From bbc6416a0e677a0bf8afc87ec9d77bd1056c88d4 Mon Sep 17 00:00:00 2001 From: johann Date: Thu, 28 May 2009 12:49:33 +0000 Subject: [PATCH] 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 --- lustre/liblustre/tests/mpi/test_lock_cancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1