aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorPaul Rigge <rigge@berkeley.edu>2018-01-01 21:15:22 -0800
committerPaul Rigge <rigge@berkeley.edu>2018-01-02 17:22:33 -0800
commit2e630d261157dbb902768ba8ef8346ee1eb41eb7 (patch)
tree67b152f2760453cd18b40740840aa24014b96200 /test/functional/api/vim_spec.lua
parent65ec4ea62972e021065d5a5be83b04bb8da2561a (diff)
downloadrneovim-2e630d261157dbb902768ba8ef8346ee1eb41eb7.tar.gz
rneovim-2e630d261157dbb902768ba8ef8346ee1eb41eb7.tar.bz2
rneovim-2e630d261157dbb902768ba8ef8346ee1eb41eb7.zip
Refactor profiling check in call_user_func.
do_profiling is a global variable, and as such the clang static analyzer has trouble making arguments about it. This commit does one comparison against do_profiling and puts the result in a local variable. This prevents errors from the value of do_profiling changing between comparisons.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions