From 59837ecc5f54c39322cc5afba2dfc9fed154a8fe Mon Sep 17 00:00:00 2001 From: lurchi Date: Thu, 17 Aug 2017 20:32:17 +0200 Subject: increasing length variable is already done by GNUNET_xgrow_ (called by the GNUNET_array_append macro) --- src/util/scheduler.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 353b4a669..19ec4efeb 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c @@ -1651,7 +1651,6 @@ extract_handles (const struct GNUNET_NETWORK_FDSet *fdset, if (NULL != nhandle) { GNUNET_array_append (nhandles, nhandle_count, nhandle); - ++nhandle_count; } else { @@ -1665,7 +1664,6 @@ extract_handles (const struct GNUNET_NETWORK_FDSet *fdset, else { GNUNET_array_append (fhandles, fhandle_count, fhandle); - ++fhandle_count; } } } @@ -1748,10 +1746,6 @@ GNUNET_SCHEDULER_add_select (enum GNUNET_SCHEDULER_Priority prio, unsigned int read_nhandles_len, write_nhandles_len, read_fhandles_len, write_fhandles_len; - LOG (GNUNET_ERROR_TYPE_WARNING, - "[%p] GNUNET_SCHDULER_add_select\n", - sh); - if ( (NULL == rs) && (NULL == ws) ) return GNUNET_SCHEDULER_add_delayed_with_priority (delay, -- cgit v1.2.3