Skip to content

-Wdocumentation warning in cf-ip-happy.c on master #21957

Description

@correctmost

I did this

I see the following warning when compiling commit 7409680 with -Weverything:

cf-ip-happy.c:998:11: warning: parameter 'cf_create' not found in the function declaration [-Wdocumentation]
  998 |  * @param cf_create  method to create the sub-filters performing the
      |           ^~~~~~~~~
1 warning generated.

Related change: f924489#diff-c75359117b8b5cacee6fdf86c328607eec6ed39b7673dde44f6a055932ef21afL982

I expected the following

No warning

curl/libcurl version

curl 8.21.0-DEV (x86_64-pc-linux-gnu) libcurl/8.21.0-DEV OpenSSL/3.6.3 zlib/1.3.2 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 nghttp2/1.69.0 OpenLDAP/2.6.13
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt mqtts pop3 pop3s rtsp smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz PSL SSL threadsafe TLS-SRP UnixSockets zstd

operating system

Linux host 7.0.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 02 Jun 2026 18:26:58 +0000 x86_64 GNU/Linux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions