Code Review
/
tldk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0104c55
)
l4p: fix compile error
12/20112/2
author
Jianfeng Tan
<henry.tjf@antfin.com>
Thu, 13 Jun 2019 09:57:39 +0000
(17:57 +0800)
committer
Jianfeng Tan
<henry.tjf@antfin.com>
Thu, 13 Jun 2019 09:57:39 +0000
(17:57 +0800)
Fix below compile error:
error: ‘d6’ may be used uninitialized in this function
const struct in6_addr *d6;
^~
Change-Id: Ie8c7fb797e5c5d934651973669b3eee791c35ad3
Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
lib/libtle_l4p/stream.h
patch
|
blob
|
history
diff --git
a/lib/libtle_l4p/stream.h
b/lib/libtle_l4p/stream.h
index
e76f126
..
49a2809
100644
(file)
--- a/
lib/libtle_l4p/stream.h
+++ b/
lib/libtle_l4p/stream.h
@@
-133,6
+133,7
@@
stream_get_dest(struct tle_stream *s, const void *dst_addr,
/* it is here just to keep gcc happy. */
d4 = NULL;
+ d6 = NULL;
if (s->type == TLE_V4) {
d4 = dst_addr;