Hello,

from 0.17.6 build:

[  140s] namestore_api.c: In function 'GNUNET_NAMESTORE_records_lookup':
[  140s] namestore_api.c:1221:1: error: control reaches end of non-void 
function [-Werror=return-type]
[  140s]  1221 | }
[  140s]       | ^
[  140s] cc1: some warnings being treated as errors
[  140s] make[3]: *** [Makefile:2323: namestore_api.lo] Error 1

>From 
>https://git.gnunet.org/gnunet.git/commit/src/namestore/namestore_api.c?id=7678d77b1cb0dcfd8887016d35b27fbedb136050

+struct GNUNET_NAMESTORE_QueueEntry *
+GNUNET_NAMESTORE_records_lookup (
[...]
+{
+  records_lookup (h, pkey, label,
+                  error_cb, error_cb_cls,
+                  rm, rm_cls, GNUNET_NO);
+
+}

Obvious return missing.

Andreas

Reply via email to