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

Skip to content

Conversation

@dpelle
Copy link
Member

@dpelle dpelle commented Nov 5, 2017

This PR fixes the following warnings when Vim
is configured with:

$ ./configure --with-features=tiny --enable-gui=gtk2
term.c: In function ‘check_termcode’:
term.c:4762:12: warning: unused variable ‘bval’ [-Wunused-variable]
        int bval = hexhex2nr(tp + j + 17);
            ^~~~
term.c:4761:12: warning: unused variable ‘gval’ [-Wunused-variable]
        int gval = hexhex2nr(tp + j + 12);
            ^~~~
term.c:4760:12: warning: unused variable ‘rval’ [-Wunused-variable]
        int rval = hexhex2nr(tp + j + 7);

@brammool brammool closed this in 53ec795 Nov 5, 2017
adizero pushed a commit to adizero/vim that referenced this pull request May 19, 2018
Problem:    Warnings for unused variables in tiny build.
Solution:   Add #ifdef. (Dominique Pelle, closes vim#2288)
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.

1 participant