projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0738b92
)
networkd: remove unused variable (#3447)
author
Tobias Jungel
<Tobias.Jungel@gmail.com>
Mon, 6 Jun 2016 12:03:07 +0000
(14:03 +0200)
committer
Daniel Mack
<github@zonque.org>
Mon, 6 Jun 2016 12:03:07 +0000
(14:03 +0200)
this patch solves the following waring:
../src/network/networkd-ndisc.c:197:13: warning: unused variable ‘r’
[-Wunused-variable]
int r;
fixes
acac5b2f
src/network/networkd-ndisc.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-ndisc.c
b/src/network/networkd-ndisc.c
index
7359cc2
..
a0d4fa7
100644
(file)
--- a/
src/network/networkd-ndisc.c
+++ b/
src/network/networkd-ndisc.c
@@
-194,7
+194,6
@@
static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_a
static void ndisc_handler(sd_ndisc *nd, int event, void *userdata) {
Link *link = userdata;
- int r;
assert(link);