From: Richard Russon Date: Tue, 19 Dec 2017 21:23:15 +0000 (+0000) Subject: add doxygen warnings X-Git-Tag: neomutt-20180223~66^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=544e8fa30b76656ca1f096c6dc5e23ca61be2d7f;p=neomutt add doxygen warnings --- diff --git a/mutt/charset.c b/mutt/charset.c index d5d58a0ff..ff459965d 100644 --- a/mutt/charset.c +++ b/mutt/charset.c @@ -416,7 +416,7 @@ int mutt_cs_chscmp(const char *s, const char *chs) * mutt_cs_get_default_charset - Get the default character set * @retval ptr Name of the default character set * - * @note This returns a pointer to a static buffer. Do not free it. + * @warning This returns a pointer to a static buffer. Do not free it. */ char *mutt_cs_get_default_charset(void) { diff --git a/mutt/file.c b/mutt/file.c index 39b193c9e..6a1209fe7 100644 --- a/mutt/file.c +++ b/mutt/file.c @@ -928,7 +928,7 @@ time_t mutt_file_decrease_mtime(const char *f, struct stat *st) * implementation does not modify its parameter, so callers need not manually * copy their paths into a modifiable buffer prior to calling this function. * - * mutt_file_dirname() returns a static string which must not be free()'d. + * @warning mutt_file_dirname() returns a static string which must not be free()'d. */ const char *mutt_file_dirname(const char *p) {