Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dpelle
Copy link
Member

@dpelle dpelle commented Mar 26, 2017

This PR does a minor cleanup in script create_cmdidxs.pl:

  • script was pushing irrelevant value $1 in an array @Skipped,
    whereas we only need to count skipped commands.
  • script had an odd magic value 2 to compute command_count
    which is not needed if we compute value differently.
  • it also adds a 'const' which is OK now that we use ANSI C.

@codecov-io
Copy link

codecov-io commented Mar 26, 2017

Codecov Report

Merging #1594 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1594      +/-   ##
==========================================
- Coverage   74.55%   74.55%   -0.01%     
==========================================
  Files          76       76              
  Lines      124841   124842       +1     
==========================================
  Hits        93070    93070              
- Misses      31771    31772       +1
Impacted Files Coverage Δ
src/ex_docmd.c 74.16% <ø> (ø) ⬆️
src/channel.c 83.7% <0%> (-0.14%) ⬇️
src/if_py_both.h 76.03% <0%> (ø) ⬆️
src/version.c 80.3% <0%> (+1.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c96272e...c2170d3. Read the comment docs.

@brammool brammool closed this in 980128c Mar 26, 2017
chrisbra pushed a commit to chrisbra/vim that referenced this pull request Mar 28, 2017
Problem:    Script for creating cmdidxs can be improved.
Solution:   Count skipped lines instead of collecting the lines.  Add "const".
            (Dominique Pelle, closes vim#1594)
desvp pushed a commit to desvp/vim that referenced this pull request May 30, 2017
Problem:    Script for creating cmdidxs can be improved.
Solution:   Count skipped lines instead of collecting the lines.  Add "const".
            (Dominique Pelle, closes vim#1594)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants