1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

Merge pull request #3558 from OlegHahm/initialize_pointer

ccn-lite: initialize pointer
This commit is contained in:
Hauke Petersen 2015-08-05 18:25:55 +02:00
commit ce73a7d1ca

View File

@ -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]);