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:
fc25c62
)
Branch b_release_1_8_1
author
johann
<johann>
Thu, 28 May 2009 12:49:01 +0000
(12:49 +0000)
committer
johann
<johann>
Thu, 28 May 2009 12:49:01 +0000
(12:49 +0000)
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
patch
|
blob
|
history
diff --git
a/lustre/liblustre/tests/mpi/test_lock_cancel.c
b/lustre/liblustre/tests/mpi/test_lock_cancel.c
index
338b5e3
..
e1d4bc3
100644
(file)
--- 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;