]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url.h: fix `-Wdocumentation`
authorViktor Szakats <commit@vsz.me>
Tue, 13 Jan 2026 16:56:02 +0000 (17:56 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 13 Jan 2026 17:13:33 +0000 (18:13 +0100)
Seen when testing `-Weverything`:
```
lib/url.h:84:11: warning: parameter 'nowp' not found in the function declaration [-Wdocumentation]
   84 |  * @param nowp      NULL or pointer to time being checked against.
      |           ^~~~
```

Follow-up to 2de22a00c7adb81b4e5cbc90785e29b4b083c1ed #19961

Closes #20294

lib/url.h

index 3a8d57c377f6fe18502f23c3bc5c261bf15b1724..e43836eba80bf111ae613612873c00607545a20b 100644 (file)
--- a/lib/url.h
+++ b/lib/url.h
@@ -81,7 +81,6 @@ const struct Curl_handler *Curl_getn_scheme_handler(const char *scheme,
 
 /**
  * Return TRUE iff the given connection is considered dead.
- * @param nowp      NULL or pointer to time being checked against.
  */
 bool Curl_conn_seems_dead(struct connectdata *conn,
                           struct Curl_easy *data);