I couldn't find a reason to keep this around. We don't walk this options string, so it isn't used to make sure we don't walk off the end. So, get rid of it.
Cheers, Jeff Signed-off-by: Jeff Moyer <[email protected]> diff --git a/modules/parse_sun.c b/modules/parse_sun.c index db36ae2..921daf4 100644 --- a/modules/parse_sun.c +++ b/modules/parse_sun.c @@ -1334,7 +1334,7 @@ int parse_mount(struct autofs_point *ap, const char *name, char *pmapent, *options; const char *p; int mapent_len, rv = 0; - int optlen, cur_state; + int cur_state; int slashify = ctxt->slashify_colons; unsigned int append_options; @@ -1389,7 +1389,6 @@ int parse_mount(struct autofs_point *ap, const char *name, logerr(MODPREFIX "strdup: %s", estr); return 1; } - optlen = strlen(options); p = skipspace(pmapent); _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
