From 4dfb7a51c5ae9fa61ff0cbe94538d49676687484 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Sun, 4 Aug 2024 14:19:29 +0900 Subject: Cleanup code --- src/_cppcheck | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/_cppcheck') diff --git a/src/_cppcheck b/src/_cppcheck index e8ab3fe..859f656 100644 --- a/src/_cppcheck +++ b/src/_cppcheck @@ -49,12 +49,9 @@ _cppcheck_files() { } _cppcheck() { - local curcontext="$curcontext" state line - typeset -A opt_args - local check_ids='(all warning style performance portability information unusedFunction missingInclude)' - _arguments -C \ + _arguments \ "--addon=[Execute addon]" \ "--addon-python=[Specify the python interpreter]: :_files" \ "--cppcheck-build-dir=[Analysis output directory]:directory:_files -/" \ -- cgit v1.2.3-70-g09d2