diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c index 71df29184..1f386b81b 100644 --- a/lib/netdev-dummy.c +++ b/lib/netdev-dummy.c @@ -233,7 +233,7 @@ static int dummy_packet_stream_run(struct netdev_dummy *dev, struct dummy_packet_stream *s) { int error = 0; - size_t n; + size_t n = 0; stream_run(s->stream);