libxkbcommon/test
Ran Benita 31430670df Fix some cppcheck warnings
Someone was nice enough to run this for us:

ftp://ftp.sunet.se/pub/Linux/distributions/Debian/debian/pool/main/libx/libxkbcommon/libxkbcommon_0.3.1.orig.tar.gz
[libxkbcommon-0.3.1/src/keymap.c:86]: (style) The scope of the variable 'j' can be reduced.
[libxkbcommon-0.3.1/src/keymap.c:87]: (style) The scope of the variable 'key' can be reduced.
[libxkbcommon-0.3.1/src/keysym-utf.c:843]: (style) The scope of the variable 'mid' can be reduced.
[libxkbcommon-0.3.1/src/state.c:992]: (style) The scope of the variable 'str' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/action.c:467]: (style) The scope of the variable 'absolute' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/rules.c:468]: (style) The scope of the variable 'consumed' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/rules.c:862]: (style) The scope of the variable 'mlvo' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/rules.c:863]: (style) The scope of the variable 'kccgst' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/rules.c:865]: (style) The scope of the variable 'match_type' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/symbols.c:753]: (style) The scope of the variable 'toAct' can be reduced.
[libxkbcommon-0.3.1/src/xkbcomp/symbols.c:1573]: (style) The scope of the variable 'key' can be reduced.
[libxkbcommon-0.3.1/test/common.c:80]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[libxkbcommon-0.3.1/test/interactive.c:358]: (style) The scope of the variable 'nevs' can be reduced.
[libxkbcommon-0.3.1/test/interactive.c:236]: (style) Checking if unsigned variable 'nsyms' is less than zero.
[libxkbcommon-0.3.1/test/interactive.c:226]: (style) Unused variable: unicode

Signed-off-by: Ran Benita <ran234@gmail.com>
2014-01-11 17:01:39 +02:00
..
data scanner: restore lost DIVIDE token 2013-11-27 13:45:15 +02:00
.gitignore test/atom: add test for atom table 2013-12-02 15:13:59 +02:00
atom.c test/atom: add test for atom table 2013-12-02 15:13:59 +02:00
bench-key-proc.c test: Add flags argument to test_get_context() 2013-03-19 10:28:23 +00:00
buffercomp.c keymap: add xkb_keymap_new_from_buffer() 2013-04-01 18:04:06 +01:00
common.c Fix some cppcheck warnings 2014-01-11 17:01:39 +02:00
context.c atom: really work with non-NUL-terminated strings 2013-07-22 11:02:20 +03:00
filecomp.c scanner: allow empty key name literals 2013-08-02 11:40:27 +03:00
interactive.c Fix some cppcheck warnings 2014-01-11 17:01:39 +02:00
keyseq.c test/keyseq: add de(neo) Level{6,7,8} tests 2013-07-25 13:21:33 +03:00
keysym.c keysym: add xkb_keysym_to_{lower,upper} 2013-08-15 09:58:50 +03:00
log.c test: Use test_get_context() in log.c 2013-03-19 10:34:28 +00:00
print-compiled-keymap.c test: Add flags argument to test_get_context() 2013-03-19 10:28:23 +00:00
rmlvo-to-kccgst.c Add environment overrides for default RMLVO 2013-03-19 10:53:37 +00:00
rules-file.c test: Add flags argument to test_get_context() 2013-03-19 10:28:23 +00:00
rulescomp.c rulescomp: increase BENCHMARK_ITERATIONS from 1000 to 2500 2013-10-10 22:02:30 +03:00
state.c test/state: fix missing xkb_state_unref 2013-09-25 10:05:26 +03:00
stringcomp.c xkbcomp: escape the section names before storing them in the keymap 2013-07-18 14:50:21 +03:00
test.h Get rid of the usage of PATH_MAX 2013-07-24 12:08:11 +03:00