Add missing local declaration.

This commit is contained in:
Devin Teske 2014-03-07 20:15:08 +00:00
parent e5cb2e6913
commit a51550b4d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262896

View File

@ -1,7 +1,7 @@
if [ ! "$_COMMON_SUBR" ]; then _COMMON_SUBR=1 if [ ! "$_COMMON_SUBR" ]; then _COMMON_SUBR=1
# #
# Copyright (c) 2012 Ron McDowell # Copyright (c) 2012 Ron McDowell
# Copyright (c) 2012-2013 Devin Teske # Copyright (c) 2012-2014 Devin Teske
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -153,7 +153,7 @@ f_debug_init()
# Process stored command-line arguments # Process stored command-line arguments
# #
set -- $ARGV set -- $ARGV
local OPTIND local OPTIND flag
f_dprintf "f_debug_init: ARGV=[%s] GETOPTS_STDARGS=[%s]" \ f_dprintf "f_debug_init: ARGV=[%s] GETOPTS_STDARGS=[%s]" \
"$ARGV" "$GETOPTS_STDARGS" "$ARGV" "$GETOPTS_STDARGS"
while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \ while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \