1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/wakaama/patches/0007-fixed-warnings-in-transaction.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

26 lines
683 B
Diff

From f7c65c6c3ad1c00fc9d10b0bd25e6119d1020f88 Mon Sep 17 00:00:00 2001
From: Christian Manal <moenoel@informatik.uni-bremen.de>
Date: Thu, 23 Nov 2017 11:58:52 +0100
Subject: [PATCH 07/12] fixed warnings in transaction.c
---
core/transaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/transaction.c b/core/transaction.c
index fd7d5d4..2dd86b1 100644
--- a/core/transaction.c
+++ b/core/transaction.c
@@ -377,7 +377,7 @@ int transaction_send(lwm2m_context_t * contextP,
if (!transacP->ack_received)
{
- long unsigned timeout;
+ long unsigned timeout = 0;
if (0 == transacP->retrans_counter)
{
--
2.1.4