diff options
-rw-r--r-- | src/testbed/gnunet-helper-testbed.c | 1 | ||||
-rw-r--r-- | src/testbed/gnunet-service-testbed.c | 1 | ||||
-rw-r--r-- | src/testbed/testbed_api.c | 1 | ||||
-rw-r--r-- | src/testbed/testbed_api_operations.c | 1 | ||||
-rw-r--r-- | src/testbed/testbed_api_topology.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c index be9154fdc..b2deb7293 100644 --- a/src/testbed/gnunet-helper-testbed.c +++ b/src/testbed/gnunet-helper-testbed.c | |||
@@ -576,7 +576,6 @@ main (int argc, char **argv) | |||
576 | GNUNET_NO, GNUNET_NO))) | 576 | GNUNET_NO, GNUNET_NO))) |
577 | { | 577 | { |
578 | GNUNET_break (0); | 578 | GNUNET_break (0); |
579 | ret = GNUNET_SYSERR; | ||
580 | return 1; | 579 | return 1; |
581 | } | 580 | } |
582 | shc_chld = | 581 | shc_chld = |
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index 1b74ad1df..701485b40 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -616,7 +616,6 @@ handle_add_host (void *cls, struct GNUNET_SERVER_Client *client, | |||
616 | } | 616 | } |
617 | hostname = GNUNET_malloc (hostname_length + 1); | 617 | hostname = GNUNET_malloc (hostname_length + 1); |
618 | strncpy (hostname, ptr, hostname_length); | 618 | strncpy (hostname, ptr, hostname_length); |
619 | ptr += hostname_length; | ||
620 | if (NULL == (host_cfg = GNUNET_TESTBED_extract_config_ (message))) | 619 | if (NULL == (host_cfg = GNUNET_TESTBED_extract_config_ (message))) |
621 | { | 620 | { |
622 | GNUNET_free_non_null (username); | 621 | GNUNET_free_non_null (username); |
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index d7578756f..f029ebd9f 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -1080,7 +1080,6 @@ message_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
1080 | LOG_DEBUG ("Receive timed out or connection to service dropped\n"); | 1080 | LOG_DEBUG ("Receive timed out or connection to service dropped\n"); |
1081 | return; | 1081 | return; |
1082 | } | 1082 | } |
1083 | status = GNUNET_OK; | ||
1084 | msize = ntohs (msg->size); | 1083 | msize = ntohs (msg->size); |
1085 | switch (ntohs (msg->type)) | 1084 | switch (ntohs (msg->type)) |
1086 | { | 1085 | { |
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c index 62bd59748..a418de910 100644 --- a/src/testbed/testbed_api_operations.c +++ b/src/testbed/testbed_api_operations.c | |||
@@ -470,7 +470,6 @@ decide_capacity (struct OperationQueue *opq, | |||
470 | rval = GNUNET_YES; | 470 | rval = GNUNET_YES; |
471 | if (opq->active > opq->max_active) | 471 | if (opq->active > opq->max_active) |
472 | { | 472 | { |
473 | need += opq->active - opq->max_active; | ||
474 | rval = GNUNET_NO; | 473 | rval = GNUNET_NO; |
475 | goto ret; | 474 | goto ret; |
476 | } | 475 | } |
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c index 5f6473988..cd7f6f7f0 100644 --- a/src/testbed/testbed_api_topology.c +++ b/src/testbed/testbed_api_topology.c | |||
@@ -688,7 +688,6 @@ gen_topo_from_file (struct TopologyContext *tc, const char *filename) | |||
688 | offset = 0; | 688 | offset = 0; |
689 | peer_id = 0; | 689 | peer_id = 0; |
690 | state = PEER_INDEX; | 690 | state = PEER_INDEX; |
691 | buf = data; | ||
692 | while (offset < fs) | 691 | while (offset < fs) |
693 | { | 692 | { |
694 | if (0 != isspace (data[offset])) | 693 | if (0 != isspace (data[offset])) |