There are 44 total results
1 errors, 2 warnings, 0 performance, 0 portability,
14 information, 27 style
MythTV

cppcheck Report


Columns are sortable
# Severity Description File
1 1 error  Deallocation of an auto-variable results in undefined behaviour. mythtv/programs/mythcommflag/HistogramAnalyzer.cpp:176
2 2 warning  Member variable ' HistogramAnalyzer::m_histogram' is not initialized in the constructor. mythtv/programs/mythcommflag/HistogramAnalyzer.cpp:140
3 2 warning  Either the condition ' !node' is redundant or there is possible null pointer dereference: node. mythtv/programs/mythfrontend/videodlg.cpp:1409
mythtv/programs/mythfrontend/videodlg.cpp:1416
4 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
5 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
6 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
7 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
8 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
9 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
10 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
11 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
12 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
13 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
14 5 information  The code ' class MTV_PUBLIC PID {' is not handled. You can use -I or --include to add handling of this code. mythtv/libs/libmythtv/mpeg/mpegtables.h:206
15 5 information  Unmatched suppression: knownConditionTrueFalse mythtv/libs/libmythbase/portchecker.cpp:92
16 5 information  Unmatched suppression: unreadVariable mythtv/libs/libmythbase/portchecker.cpp:105
17 5 information  Unmatched suppression: identicalInnerCondition mythtv/libs/libmythtv/channelutil.cpp:1185
18 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/volumebase.cpp:75
19 6 style  Condition ' recstatus!=RecStatus::DontRecord' is always true mythtv/libs/libmythservicecontracts/enums/recStatus.cpp:29
mythtv/libs/libmythservicecontracts/enums/recStatus.cpp:28
20 6 style  Variable ' reprocessing' is assigned a value that is never used. mythtv/libs/libmythtv/DVD/mythdvdbuffer.cpp:525
21 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:1152
22 6 style  Variable ' event.m_subtitle' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/eitfixup.cpp:1058
mythtv/libs/libmythtv/eitfixup.cpp:1053
23 6 style  Same expression used in consecutive assignments of ' tid' and ' bid' . mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp:941
mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp:942
24 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/opengl/mythdrmprimeinterop.cpp:71
25 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp:88
26 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythui/platforms/drm/mythdrmplane.cpp:109
27 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/platforms/drm/mythdrmplane.cpp:193
28 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/platforms/drm/mythdrmplane.cpp:208
29 6 style  Variable ' flagFPS' is assigned a value that is never used. mythtv/programs/mythcommflag/ClassicCommDetector.cpp:400
30 6 style  Condition ' !successes.empty()' is always false mythtv/programs/mythfrontend/playbackboxhelper.cpp:200
31 6 style  Condition ' !failures.empty()' is always false mythtv/programs/mythfrontend/playbackboxhelper.cpp:205
mythtv/programs/mythfrontend/playbackboxhelper.cpp:200
32 6 style  Condition ' !successes.empty()' is always false mythtv/programs/mythfrontend/playbackboxhelper.cpp:229
33 6 style  Condition ' !failures.empty()' is always false mythtv/programs/mythfrontend/playbackboxhelper.cpp:234
mythtv/programs/mythfrontend/playbackboxhelper.cpp:229
34 6 style  Same value in both branches of ternary operator. mythtv/programs/mythfrontend/playbackboxhelper.cpp:193
35 6 style  Same value in both branches of ternary operator. mythtv/programs/mythfrontend/playbackboxhelper.cpp:224
36 6 style  The scope of the variable ' maxRecurse' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:1658
37 6 style  Condition ' !foundMatchWithArt' is always true mythtv/programs/mythmetadatalookup/lookup.cpp:265
mythtv/programs/mythmetadatalookup/lookup.cpp:245
38 6 style  Condition ' !closeDialog' is always true mythtv/programs/mythtv-setup/importicons.cpp:406
mythtv/programs/mythtv-setup/importicons.cpp:285
39 6 style  Condition ' closeDialog' is always false mythtv/programs/mythtv-setup/importicons.cpp:442
mythtv/programs/mythtv-setup/importicons.cpp:285
40 6 style  Parameter ' ptsl' can be declared with const mythtv/programs/mythutil/mpegutils.cpp:437
41 6 style  Condition ' diskcount> 1' is always false mythplugins/mythgame/mythgame/gamehandler.cpp:358
mythplugins/mythgame/mythgame/gamehandler.cpp:357
mythplugins/mythgame/mythgame/gamehandler.cpp:332
42 6 style  The scope of the variable ' diskcount' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:332
43 6 style  Variable ' pos' is assigned a value that is never used. mythplugins/mythgame/mythgame/gamehandler.cpp:301
44 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/playlistcontainer.cpp:18

cppcheck version - 2.3
Updated 6 Apr 2021 09:54:49 GMT