diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-30 16:22:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-30 16:22:47 +0200 |
commit | 4b5c6cceb0284774a161d426b606f40644abfb4c (patch) | |
tree | f2f63b8df7e6bb329ef25eca97e27d4deac55b69 /src/namestore/gnunet-namestore.c | |
parent | c66809401efc16f2606db7e2c7b7ca8def8be14e (diff) | |
download | gnunet-4b5c6cceb0284774a161d426b606f40644abfb4c.tar.gz gnunet-4b5c6cceb0284774a161d426b606f40644abfb4c.zip |
eliminate use of OFFSET in namestore DB queries
Diffstat (limited to 'src/namestore/gnunet-namestore.c')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 7b8312b46..d329dcb3b 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -661,6 +661,8 @@ handle_reverse_lookup (void *cls, | |||
661 | { | 661 | { |
662 | (void) cls; | 662 | (void) cls; |
663 | (void) zone; | 663 | (void) zone; |
664 | (void) rd_count; | ||
665 | (void) rd; | ||
664 | reverse_qe = NULL; | 666 | reverse_qe = NULL; |
665 | if (NULL == label) | 667 | if (NULL == label) |
666 | FPRINTF (stdout, | 668 | FPRINTF (stdout, |
@@ -712,6 +714,7 @@ del_monitor (void *cls, | |||
712 | char *vs; | 714 | char *vs; |
713 | 715 | ||
714 | (void) cls; | 716 | (void) cls; |
717 | (void) zone; | ||
715 | del_qe = NULL; | 718 | del_qe = NULL; |
716 | if (0 == rd_count) | 719 | if (0 == rd_count) |
717 | { | 720 | { |
@@ -1092,6 +1095,9 @@ id_connect_cb (void *cls, | |||
1092 | { | 1095 | { |
1093 | const struct GNUNET_CONFIGURATION_Handle *cfg = cls; | 1096 | const struct GNUNET_CONFIGURATION_Handle *cfg = cls; |
1094 | 1097 | ||
1098 | (void) cls; | ||
1099 | (void) ctx; | ||
1100 | (void) name; | ||
1095 | if (NULL == ego) | 1101 | if (NULL == ego) |
1096 | { | 1102 | { |
1097 | get_default = GNUNET_IDENTITY_get (idh, | 1103 | get_default = GNUNET_IDENTITY_get (idh, |