aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2020-03-23 08:00:56 +0000
committerAnders Broman <a.broman58@gmail.com>2020-03-23 08:47:50 +0000
commita3195b5539256563ac84d300bae594d682b021e3 (patch)
tree993339f578481f1fb3697f6fb65e50848673ce77
parent52a782d653521b19da697c1e55fda8da29f1d5a9 (diff)
tempfile(.h): fix -Wdocumentation
tempfile.h:33:11: warning: parameter 'sfx' is already documented [-Wdocumentation] Change-Id: I026ea52c484fb75a69f15b02e6eee5ce599da0e7 Reviewed-on: https://code.wireshark.org/review/36541 Reviewed-by: Dario Lombardo <lomato@gmail.com> Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--wsutil/tempfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/tempfile.h b/wsutil/tempfile.h
index 0565abbb0d..2b51089c24 100644
--- a/wsutil/tempfile.h
+++ b/wsutil/tempfile.h
@@ -30,7 +30,7 @@ extern "C" {
* @param pfx [in] A prefix for the temporary file.
* @param sfx [in] A file extension for the temporary file. NULL can be passed
* if no file extension is needed
- * @param sfx [out] Any error returned by g_file_open_tmp. May be NULL.
+ * @param err [out] Any error returned by g_file_open_tmp. May be NULL.
* @return The file descriptor of the new tempfile, from mkstemps().
*/
WS_DLL_PUBLIC int create_tempfile(gchar **namebuf, const char *pfx, const char *sfx, GError **err);