Thank you.
I wonder why the default buildconfig does not throw warnings in this
case...

Fixed

Excerpts from Andreas Stieger's message of 2022-09-26 13:32:58 +0200:
> 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

Attachment: signature.asc
Description: PGP signature

Reply via email to