gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r28696 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r28696 - gnunet/src/ats
Date: Mon, 19 Aug 2013 09:33:51 +0200

Author: wachs
Date: 2013-08-19 09:33:50 +0200 (Mon, 19 Aug 2013)
New Revision: 28696

Modified:
   gnunet/src/ats/gnunet-service-ats-solver_mlp.h
   gnunet/src/ats/gnunet-service-ats_normalization.c
Log:
remove dead assignments


Modified: gnunet/src/ats/gnunet-service-ats-solver_mlp.h
===================================================================
--- gnunet/src/ats/gnunet-service-ats-solver_mlp.h      2013-08-19 06:44:51 UTC 
(rev 28695)
+++ gnunet/src/ats/gnunet-service-ats-solver_mlp.h      2013-08-19 07:33:50 UTC 
(rev 28696)
@@ -517,7 +517,8 @@
 
 
 /**
- * Get the preferred address for a specific peer
+ * Get the preferred address for a specific peer until
+ * GAS_mlp_stop_get_preferred_address is called
  *
  * @param solver the MLP Handle
  * @param peer the peer

Modified: gnunet/src/ats/gnunet-service-ats_normalization.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_normalization.c   2013-08-19 06:44:51 UTC 
(rev 28695)
+++ gnunet/src/ats/gnunet-service-ats_normalization.c   2013-08-19 07:33:50 UTC 
(rev 28696)
@@ -311,7 +311,6 @@
                                GNUNET_ATS_print_preference_type (kind),
                                p_cur->f_rel[kind]);
 
-               res = 0.0;
                if (p_cur->f_rel[kind] != backup)
                {
                        /* Value changed, recalculate */
@@ -774,7 +773,7 @@
        for (c1 = 0; c1 < atsi_count; c1++)
        {
                current_type = ntohl (atsi[c1].type);
-               current_val = ntohl (atsi[c1].value);
+
                for (c2 = 0; c2 < GNUNET_ATS_QualityPropertiesCount; c2++)
                {
                        /* Check if type is valid */




reply via email to

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