diff options
Diffstat (limited to 'popthelp.c')
-rw-r--r-- | popthelp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -536,7 +536,6 @@ static size_t maxArgWidth(const struct poptOption * opt, /*@*/ { size_t max = 0; - const char * argDescrip; if (opt != NULL) while (opt->longName || opt->shortName || opt->arg) { @@ -547,6 +546,7 @@ static size_t maxArgWidth(const struct poptOption * opt, if (len > max) max = len; } else if (!F_ISSET(opt, DOC_HIDDEN)) { len = sizeof(" ")-1; + const char * argDescrip; /* XXX --long always padded for alignment with/without "-X, ". */ len += sizeof("-X, ")-1; if (opt->longName) { @@ -618,7 +618,6 @@ static void singleTableHelp(poptContext con, FILE * fp, /*@modifies fp, columns->cur, fileSystem @*/ { const struct poptOption * opt; - const char *sub_transdom; if (table == poptAliasOptions) { itemHelp(fp, con->aliases, con->numAliases, columns, NULL); @@ -634,6 +633,7 @@ static void singleTableHelp(poptContext con, FILE * fp, if (table != NULL) for (opt = table; opt->longName || opt->shortName || opt->arg; opt++) { + const char *sub_transdom; if (poptArgType(opt) != POPT_ARG_INCLUDE_TABLE) continue; sub_transdom = getTableTranslationDomain(opt->arg); |