X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a43e21e05c5cf9e3525b3dd5480e4ee5945ffab1..1526b8b17d70a0dff1acef00997b37ca1135abff:/popt/popthelp.c diff --git a/popt/popthelp.c b/popt/popthelp.c index 1ddb895c..07020370 100644 --- a/popt/popthelp.c +++ b/popt/popthelp.c @@ -17,9 +17,9 @@ * @param key option(s) */ static void displayArgs(poptContext con, - /*@unused@*/ enum poptCallbackReason foo, + /*@unused@*/ UNUSED(enum poptCallbackReason foo), struct poptOption * key, - /*@unused@*/ const char * arg, /*@unused@*/ void * data) + /*@unused@*/ UNUSED(const char * arg), /*@unused@*/ UNUSED(void * data)) /*@globals fileSystem@*/ /*@modifies fileSystem@*/ { @@ -63,7 +63,7 @@ struct poptOption poptHelpOptions[] = { /** * @param table option(s) */ -/*@observer@*/ /*@null@*/ static const char *const +/*@observer@*/ /*@null@*/ static const char * getTableTranslationDomain(/*@null@*/ const struct poptOption *table) /*@*/ { @@ -81,10 +81,10 @@ getTableTranslationDomain(/*@null@*/ const struct poptOption *table) * @param opt option(s) * @param translation_domain translation domain */ -/*@observer@*/ /*@null@*/ static const char *const +/*@observer@*/ /*@null@*/ static const char * getArgDescrip(const struct poptOption * opt, /*@-paramuse@*/ /* FIX: wazzup? */ - /*@null@*/ const char * translation_domain) + /*@null@*/ UNUSED(const char * translation_domain)) /*@=paramuse@*/ /*@*/ { @@ -115,7 +115,7 @@ static /*@only@*/ /*@null@*/ char * singleOptionDefaultValue(int lineLength, const struct poptOption * opt, /*@-paramuse@*/ /* FIX: i18n macros disable with lclint */ - /*@null@*/ const char * translation_domain) + /*@null@*/ UNUSED(const char * translation_domain)) /*@=paramuse@*/ /*@*/ { @@ -475,7 +475,7 @@ static int showHelpIntro(poptContext con, FILE * fp) return len; } -void poptPrintHelp(poptContext con, FILE * fp, /*@unused@*/ int flags) +void poptPrintHelp(poptContext con, FILE * fp, /*@unused@*/ UNUSED(int flags)) { int leftColWidth; @@ -634,7 +634,7 @@ static int showShortOptions(const struct poptOption * opt, FILE * fp, return strlen(s) + 4; } -void poptPrintUsage(poptContext con, FILE * fp, /*@unused@*/ int flags) +void poptPrintUsage(poptContext con, FILE * fp, /*@unused@*/ UNUSED(int flags)) { int cursor;