aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-06-19 08:19:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-06-19 08:19:19 +0000
commit6f973ea8d364faab74da2a4de656255ac682dd11 (patch)
treefb64eebfe4d3dd0ad3f7b16daae6a3914110600d /src/ats
parent03cd34c33f455c8e87136b1c469f092837aa7948 (diff)
downloadgnunet-6f973ea8d364faab74da2a4de656255ac682dd11.tar.gz
gnunet-6f973ea8d364faab74da2a4de656255ac682dd11.zip
- unused var
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/ats_api_scheduling.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index 5a174b838..90221537a 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -409,7 +409,6 @@ find_session_id (struct GNUNET_ATS_SchedulingHandle *sh, struct Session *session
409 const struct GNUNET_PeerIdentity *peer) 409 const struct GNUNET_PeerIdentity *peer)
410{ 410{
411 unsigned int i; 411 unsigned int i;
412 unsigned int f;
413 char * p2; 412 char * p2;
414 413
415 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "ats-scheduling-api", 414 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "ats-scheduling-api",
@@ -418,7 +417,6 @@ find_session_id (struct GNUNET_ATS_SchedulingHandle *sh, struct Session *session
418 417
419 if (NULL == session) 418 if (NULL == session)
420 return NOT_FOUND; 419 return NOT_FOUND;
421 f = 0;
422 for (i = 1; i < sh->session_array_size; i++) 420 for (i = 1; i < sh->session_array_size; i++)
423 { 421 {
424 if (session == sh->session_array[i].session) 422 if (session == sh->session_array[i].session)