aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/perf_namestore_api_import.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-12 20:27:37 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-12 20:27:37 +0900
commit342ab049a74a951d30584ee88ae12765846ee38d (patch)
tree2f88af505f9c1e0a7ff8190ec23bcf56807ee604 /src/namestore/perf_namestore_api_import.c
parent49030ceea9aa1761649d17fe688421d7b95a8fc7 (diff)
downloadgnunet-342ab049a74a951d30584ee88ae12765846ee38d.tar.gz
gnunet-342ab049a74a951d30584ee88ae12765846ee38d.zip
-warnings; dns2gns fixes
Diffstat (limited to 'src/namestore/perf_namestore_api_import.c')
-rw-r--r--src/namestore/perf_namestore_api_import.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/namestore/perf_namestore_api_import.c b/src/namestore/perf_namestore_api_import.c
index 698a558b7..0bc70b70b 100644
--- a/src/namestore/perf_namestore_api_import.c
+++ b/src/namestore/perf_namestore_api_import.c
@@ -72,10 +72,6 @@ static struct GNUNET_NAMESTORE_QueueEntry *qe;
72 72
73static int res; 73static int res;
74 74
75static unsigned int left_until_next;
76
77static uint8_t seen[1 + BENCHMARK_SIZE / 8];
78
79static struct GNUNET_TIME_Absolute start; 75static struct GNUNET_TIME_Absolute start;
80 76
81struct GNUNET_NAMESTORE_RecordInfo ri[TEST_RECORD_COUNT]; 77struct GNUNET_NAMESTORE_RecordInfo ri[TEST_RECORD_COUNT];
@@ -151,14 +147,6 @@ create_record (unsigned int count)
151 147
152 148
153static void 149static void
154fail_cb (void *cls)
155{
156 res = 2;
157 GNUNET_break (0);
158 GNUNET_SCHEDULER_shutdown ();
159}
160
161static void
162publish_records_single (void *cls); 150publish_records_single (void *cls);
163 151
164static void 152static void
@@ -342,11 +330,8 @@ put_cont_single (void *cls,
342static void 330static void
343publish_records_single (void *cls) 331publish_records_single (void *cls)
344{ 332{
345 struct GNUNET_GNSRECORD_Data *rd;
346 struct GNUNET_TIME_Relative delay; 333 struct GNUNET_TIME_Relative delay;
347 334
348 char *label;
349
350 (void) cls; 335 (void) cls;
351 t = NULL; 336 t = NULL;
352 if (single_put_pos == TEST_RECORD_COUNT) 337 if (single_put_pos == TEST_RECORD_COUNT)
@@ -366,8 +351,6 @@ publish_records_single (void *cls)
366 ri[single_put_pos].a_rd, 351 ri[single_put_pos].a_rd,
367 &put_cont_single, 352 &put_cont_single,
368 NULL); 353 NULL);
369 GNUNET_free (label);
370 GNUNET_free (rd);
371} 354}
372 355
373 356