1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/wakaama/patches/0012-fixed-warnings-in-liblwm2m.c.patch
Christian Manal bc62f54146 pkg: wakaama: Fix and update wakaama package to version fe48d45
* Fix the not updated `PKG_TEMP_DIR` to `PKG_BUILDDIR`
* Bump the version
* Make the patches apply and fix warnings/errors
2017-11-29 17:03:14 +01:00

27 lines
665 B
Diff

From 8a20d72f1cb54151995cb30f3650267f896e88d0 Mon Sep 17 00:00:00 2001
From: Christian Manal <moenoel@informatik.uni-bremen.de>
Date: Wed, 29 Nov 2017 16:54:47 +0100
Subject: [PATCH 12/12] fixed warnings in liblwm2m.c
---
core/liblwm2m.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/liblwm2m.c b/core/liblwm2m.c
index bf4b1b1..b7aafd7 100644
--- a/core/liblwm2m.c
+++ b/core/liblwm2m.c
@@ -365,7 +365,9 @@ int lwm2m_step(lwm2m_context_t * contextP,
time_t * timeoutP)
{
time_t tv_sec;
+#ifdef LWM2M_CLIENT_MODE
int result;
+#endif
LOG_ARG("timeoutP: %" PRId64, *timeoutP);
tv_sec = lwm2m_gettime();
--
2.1.4