diff --git a/sys/net/ccn_lite/ccnl-core.c b/sys/net/ccn_lite/ccnl-core.c
index 70c4a3c9162e8960f1b00687885f7065bed77050..eb9e309282cb4df7bd21f5b610af82531377bfcd 100644
--- a/sys/net/ccn_lite/ccnl-core.c
+++ b/sys/net/ccn_lite/ccnl-core.c
@@ -721,7 +721,8 @@ int ccnl_face_enqueue(struct ccnl_relay_s *ccnl, struct ccnl_face_s *to,
 int ccnl_nonce_find_or_append(struct ccnl_relay_s *ccnl,
                               struct ccnl_buf_s *nonce)
 {
-    struct ccnl_nonce_s *n, *last;
+    struct ccnl_nonce_s *n;
+    struct ccnl_nonce_s *last = NULL;
     int i;
     DEBUGMSG(99, "ccnl_nonce_find_or_append: %u:%u:%u:%u\n",
              nonce->data[0], nonce->data[1], nonce->data[2], nonce->data[3]);