From 3d6fe3cc4bb54d37737b3be87b73252fd78f6276 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 5 Dec 2013 20:45:35 +0000 Subject: [PATCH] -dead assignment, reported by clang --- src/ats/gnunet-service-ats_addresses.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 23568b431..30045ba2f 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c @@ -1552,7 +1552,6 @@ GAS_addresses_evaluate_assignment (struct GAS_Addresses_Handle *ah) { if (prefs[c] == GNUNET_ATS_PREFERENCE_END) continue; - pref_val = -1.0; pref_val = GAS_normalization_get_preferences_by_client (pcur->client, &cur->id, prefs[c]); if (-1.0 == pref_val) { -- 2.25.1