Bug#712269: [tvtime] cppcheck tool discovered same severe errors in the code

2013-06-15 Thread triniton adam
Proposed patch for [tvtime] cppcheck tool discovered same errors in the code: intl/localcharset.c: - fix common realloc mistake: buffer nulled but not freed upon failure. intl/localealias.c: - fix resource leak plugins/kdetv_greedyh.c: plugins/kdetv_tomsmocomp.c: - fix buffer is acce

Bug#712269: [tvtime] cppcheck tool discovered same severe errors in the code

2013-06-14 Thread triniton adam
A short list of bug description: -- 01. src/commands.c:2409: (performance) Variable 'curname' is reassigned a value be

Bug#712269: [tvtime] cppcheck tool discovered same severe errors in the code)

2013-06-14 Thread George Pojar
[tvtime/intl/dcigettext.c]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 29 configurations. Use --force to check all configurations. [tvtime/intl/plural-exp.h:71] -> [tvtime/intl/plural-exp.h:49]: (style) Variable 'num' hides enumerator with same name [tvtime/intl/d