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:
d3e7dd6
)
Avoid compiler warning of an uninitialised local - the code is safe but the
author
eeb
<eeb>
Fri, 4 Sep 2009 17:13:39 +0000
(17:13 +0000)
committer
eeb
<eeb>
Fri, 4 Sep 2009 17:13:39 +0000
(17:13 +0000)
compiler can't tell.
lnet/selftest/console.c
patch
|
blob
|
history
diff --git
a/lnet/selftest/console.c
b/lnet/selftest/console.c
index
12a9f05
..
c482748
100644
(file)
--- a/
lnet/selftest/console.c
+++ b/
lnet/selftest/console.c
@@
-1711,7
+1711,7
@@
lstcon_session_new(char *name, int key,
rc = lstcon_rpc_pinger_start();
if (rc != 0) {
- lstcon_batch_t *bat;
+ lstcon_batch_t *bat
= NULL
;
lstcon_batch_find(LST_DEFAULT_BATCH, &bat);
lstcon_batch_destroy(bat);