diff options
author | Markus Teich | 2013-06-22 23:05:03 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2013-07-04 09:26:18 +0200 |
commit | 329f69063eca721b85db54da07af1c5c7a48343a (patch) | |
tree | 9b53a17c00e3c55030e72a591c01b2b5c6c4626c /st.c | |
parent | 63c371131e35af7c23cbb4c1db64bae37404ef72 (diff) | |
download | aur-329f69063eca721b85db54da07af1c5c7a48343a.tar.gz |
fix: do not need an extra variable for a single read
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -3375,7 +3375,6 @@ numlock(const Arg *dummy) { char* kmap(KeySym k, uint state) { - uint mask; Key *kp; int i; @@ -3390,12 +3389,10 @@ kmap(KeySym k, uint state) { } for(kp = key; kp < key + LEN(key); kp++) { - mask = kp->mask; - if(kp->k != k) continue; - if(!match(mask, state)) + if(!match(kp->mask, state)) continue; if(kp->appkey > 0) { |