diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-06-07 10:29:59 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-06-10 11:29:18 +0300 |
commit | da9726ecfba202514d984129c3537b028519cdb8 (patch) | |
tree | 698a07607662d55acdfe62e04bf9fe349e88dd7e /scripts/kernel-doc | |
parent | 95b6be9d198d964fafd9cbf1dd4d1968291e255c (diff) | |
download | lwn-da9726ecfba202514d984129c3537b028519cdb8.tar.gz lwn-da9726ecfba202514d984129c3537b028519cdb8.zip |
kernel-doc: add missing semi-colons in option parsing
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-x | scripts/kernel-doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 710615f3a4ff..a6f82c812c15 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -484,10 +484,10 @@ while ($ARGV[0] =~ m/^-(.*)/) { $function_table{$function} = 1; } elsif ($cmd eq "-export") { # only exported symbols $output_selection = OUTPUT_EXPORTED; - %function_table = () + %function_table = (); } elsif ($cmd eq "-internal") { # only non-exported symbols $output_selection = OUTPUT_INTERNAL; - %function_table = () + %function_table = (); } elsif ($cmd eq "-v") { $verbose = 1; } elsif (($cmd eq "-h") || ($cmd eq "--help")) { |