diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-12 20:27:37 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-12 20:27:37 +0900 |
commit | 342ab049a74a951d30584ee88ae12765846ee38d (patch) | |
tree | 2f88af505f9c1e0a7ff8190ec23bcf56807ee604 /src/namestore/perf_namestore_api_import.c | |
parent | 49030ceea9aa1761649d17fe688421d7b95a8fc7 (diff) | |
download | gnunet-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.c | 17 |
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 | ||
73 | static int res; | 73 | static int res; |
74 | 74 | ||
75 | static unsigned int left_until_next; | ||
76 | |||
77 | static uint8_t seen[1 + BENCHMARK_SIZE / 8]; | ||
78 | |||
79 | static struct GNUNET_TIME_Absolute start; | 75 | static struct GNUNET_TIME_Absolute start; |
80 | 76 | ||
81 | struct GNUNET_NAMESTORE_RecordInfo ri[TEST_RECORD_COUNT]; | 77 | struct GNUNET_NAMESTORE_RecordInfo ri[TEST_RECORD_COUNT]; |
@@ -151,14 +147,6 @@ create_record (unsigned int count) | |||
151 | 147 | ||
152 | 148 | ||
153 | static void | 149 | static void |
154 | fail_cb (void *cls) | ||
155 | { | ||
156 | res = 2; | ||
157 | GNUNET_break (0); | ||
158 | GNUNET_SCHEDULER_shutdown (); | ||
159 | } | ||
160 | |||
161 | static void | ||
162 | publish_records_single (void *cls); | 150 | publish_records_single (void *cls); |
163 | 151 | ||
164 | static void | 152 | static void |
@@ -342,11 +330,8 @@ put_cont_single (void *cls, | |||
342 | static void | 330 | static void |
343 | publish_records_single (void *cls) | 331 | publish_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 | ||