From 4b9e035a9f93a3712e37cf71e2a2ba3d03db4d41 Mon Sep 17 00:00:00 2001 From: kieranm Date: Wed, 13 Nov 2002 21:54:22 +0000 Subject: [PATCH] Initialize err in tcp_slowtmr to prevent compiler warning. --- src/core/tcp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/tcp.c b/src/core/tcp.c index 2ff3a4f0..ef8fc2be 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -454,6 +454,8 @@ tcp_slowtmr(void) u8_t pcb_remove; /* flag if a PCB should be removed */ err_t err; + err = ERR_OK; + ++tcp_ticks; /* Steps through all of the active PCBs. */