]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/skiplist.c
Merge pull request #5590 from qlyoung/fix-nhrp-underflow
[mirror_frr.git] / lib / skiplist.c
index 3933429c3b0bd737dde7fda12cea324dc81c4b15..6efa2c362d9efbcd5ca2c133d204869cae13f8c7 100644 (file)
@@ -88,7 +88,7 @@ static struct skiplist *skiplist_last_created; /* debugging hack */
 #endif
 
 
-static int randomLevel()
+static int randomLevel(void)
 {
        register int level = 0;
        register int b;
@@ -608,7 +608,7 @@ void skiplist_test(struct vty *vty)
        struct skiplist *l;
        register int i, k;
        void *keys[sampleSize];
-       void *v;
+       void *v = NULL;
 
        zlog_debug("%s: entry", __func__);