GNUNET_NAMESTORE_records_lookup non-void return

Andreas Stieger <[email protected]>
Newsgroups gmane.network.gnunet.devel
Message-ID <trinity-56b546d4-8e78-4954-9390-ff1727b791a1-1664191978830@3c-app-gmx-bs61>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.