diff --git a/lib/sxmplv2.c b/lib/sxmplv2.c index 79d708d..d78b5cd 100644 --- a/lib/sxmplv2.c +++ b/lib/sxmplv2.c @@ -445,11 +445,6 @@ sxlink_t *__link_minimal_alloc(struct in_addr *addr) return NULL; } -static long __cmp_u64(const void *a, const void *b) -{ - return *(uint64_t *)a - *(uint64_t *)b; -} - static int __link_second_alloc(sxlink_t *co) { usrtc_node_init(&co->csnode, co); @@ -695,7 +690,7 @@ static void *__sxmpl_thread(void *b) struct timespec wtick; int dispatch = 0, e; size_t rd, wr; - ulong_t mid; + ulong_t mid = 0; #ifdef _PERFPROFILE struct timeval beg, end; #endif