There are 33 total results
0 errors, 7 warnings, 0 performance, 4 portability,
0 information, 22 style
MythTV

cppcheck Report


Columns are sortable
# Severity Description File
1 2 warning  Virtual function ' Init' is called from constructor ' MythPowerOSX()' at line 22. Dynamic binding is not used. mythtv/libs/libmythbase/platforms/mythpowerosx.h:29
mythtv/libs/libmythbase/platforms/mythpowerosx.cpp:22
2 2 warning  %lld in format string (no. 1) requires ' long long *' but the argument type is ' signed long *' . mythtv/libs/libmythtv/netstream.cpp:332
3 2 warning  %lld in format string (no. 2) requires ' long long *' but the argument type is ' signed long *' . mythtv/libs/libmythtv/netstream.cpp:332
4 2 warning  %lld in format string (no. 3) requires ' long long *' but the argument type is ' signed long *' . mythtv/libs/libmythtv/netstream.cpp:332
5 2 warning  Member variable ' TeletextReader::m_magazines' is not initialized in the constructor. mythtv/libs/libmythtv/teletextreader.cpp:13
6 2 warning  Virtual function ' Restore' is called from destructor ' ~ScreenSaverAndroid()' at line 22. Dynamic binding is not used. mythtv/libs/libmythui/screensaver-android.h:17
mythtv/libs/libmythui/screensaver-android.cpp:22
7 2 warning  Virtual function ' Restore' is called from destructor ' ~ScreenSaverOSX()' at line 25. Dynamic binding is not used. mythtv/libs/libmythui/screensaver-osx.h:13
mythtv/libs/libmythui/screensaver-osx.cpp:25
8 4 portability  Returning an integer in a function with pointer return type is not portable. mythtv/libs/libmythbase/mythmedia.h:191
9 4 portability  Casting between unsigned char * and float * which have an incompatible binary data representation. mythtv/libs/libmythbase/plist.cpp:434
10 4 portability  Casting between unsigned char * and double * which have an incompatible binary data representation. mythtv/libs/libmythbase/plist.cpp:439
11 4 portability  Casting between unsigned char * and double * which have an incompatible binary data representation. mythtv/libs/libmythbase/plist.cpp:457
12 6 style  Parameter ' cmd' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:142
13 6 style  Parameter ' args' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:149
14 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythbase/iso639.cpp:64
15 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythbase/mythpower.cpp:116
16 6 style  Parameter ' cmd' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:142
17 6 style  Parameter ' args' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:149
18 6 style  Condition ' islinkLocal' is always false mythtv/libs/libmythbase/portchecker.cpp:91
mythtv/libs/libmythbase/portchecker.cpp:80
19 6 style  Parameter ' aesmsg' can be declared with const mythtv/libs/libmythtv/HLS/m3u.cpp:278
20 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/mheg/dsmcc.cpp:43
21 6 style  Parameter ' ref' can be declared with const mythtv/libs/libmythtv/mheg/dsmcccache.cpp:240
22 6 style  Parameter ' ref' can be declared with const mythtv/libs/libmythtv/mheg/dsmcccache.cpp:252
23 6 style  Parameter ' ref' can be declared with const mythtv/libs/libmythtv/mheg/dsmcccache.cpp:264
24 6 style  Parameter ' item' can be declared with const mythtv/libs/libmythbase/mythdeque.h:75
25 6 style  Parameter ' n' can be declared with const mythtv/libs/libmythtv/recorders/HLS/HLSStream.h:47
26 6 style  Parameter ' n' can be declared with const mythtv/libs/libmythtv/recorders/HLS/HLSStream.h:47
27 6 style  Parameter ' n' can be declared with const mythtv/libs/libmythtv/recorders/HLS/HLSStream.h:47
28 6 style  Parameter ' cmd' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:142
29 6 style  Parameter ' args' can be declared with const mythtv/libs/libmythbase/mythsystemlegacy.h:149
30 6 style  Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/sourceutil.cpp:289
31 6 style  Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/sourceutil.cpp:324
32 6 style  Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/sourceutil.cpp:337
33 6 style  Consider using std::fill algorithm instead of a raw loop. mythtv/libs/libmythtv/teletextreader.cpp:367

cppcheck version - 1.90
Updated 19 Feb 2020 18:03:01 GMT