gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 28/45: increasing length variable is already done


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 28/45: increasing length variable is already done by GNUNET_xgrow_ (called by the GNUNET_array_append macro)
Date: Sun, 31 Dec 2017 00:37:15 +0100

This is an automated email from the git hooks/post-receive script.

lurchi pushed a commit to branch master
in repository gnunet.

commit 59837ecc5f54c39322cc5afba2dfc9fed154a8fe
Author: lurchi <address@hidden>
AuthorDate: Thu Aug 17 20:32:17 2017 +0200

    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(-)

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,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]