There are 741 total results
2 errors, 69 warnings, 28 performance, 9 portability,
0 information, 633 style
MythTV

cppcheck Report


Columns are sortable
# Severity Description File
1 1 error  syntax error: 1 = mythtv/libs/libmythtv/eitcache.cpp:124
2 1 error  Non-local variable ' m_mplex' will use pointer to local variable ' mx' . mythtv/programs/mythtranscode/mpeg2fix.cpp:568
mythtv/programs/mythtranscode/mpeg2fix.cpp:542
mythtv/programs/mythtranscode/mpeg2fix.cpp:568
3 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpcache.cpp:59
mythtv/libs/libmythbase/http/mythhttpcache.cpp:83
4 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpcache.cpp:71
mythtv/libs/libmythbase/http/mythhttpcache.cpp:83
5 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpcache.cpp:82
mythtv/libs/libmythbase/http/mythhttpcache.cpp:83
6 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpencoding.cpp:340
mythtv/libs/libmythbase/http/mythhttpencoding.cpp:353
7 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:43
mythtv/libs/libmythbase/http/mythhttpranges.cpp:68
8 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:47
mythtv/libs/libmythbase/http/mythhttpranges.cpp:68
9 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:97
mythtv/libs/libmythbase/http/mythhttpranges.cpp:120
10 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:98
mythtv/libs/libmythbase/http/mythhttpranges.cpp:120
11 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:99
mythtv/libs/libmythbase/http/mythhttpranges.cpp:120
12 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:100
mythtv/libs/libmythbase/http/mythhttpranges.cpp:120
13 2 warning  Shifting 64-bit value by 256 bits is undefined behaviour. See condition at line 433. mythtv/libs/libmythbase/mythbinaryplist.cpp:428
mythtv/libs/libmythbase/mythbinaryplist.cpp:428
14 2 warning  Unused variable value ' uint' mythtv/libs/libmythbase/mythmedia.cpp:251
15 2 warning  Unused variable value ' uint' mythtv/libs/libmythbase/mythmedia.cpp:523
16 2 warning  Class ' MythObservable' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythbase/mythobservable.h:16
17 2 warning  Class ' MythObservable' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythbase/mythobservable.h:16
18 2 warning  Class ' PMapDBReplacement' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythbase/programinfo.cpp:6291
19 2 warning  Class ' PMapDBReplacement' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythbase/programinfo.cpp:6291
20 2 warning  Class ' CleanupHooks' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/cleanup.cpp:70
21 2 warning  Class ' CleanupHooks' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/cleanup.cpp:70
22 2 warning  Class ' FileAssociations' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/dbaccess.cpp:822
23 2 warning  Class ' FileAssociations' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/dbaccess.cpp:822
24 2 warning  Class ' ImageDbReader' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:431
25 2 warning  Class ' ImageDbReader' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:431
26 2 warning  Class ' ImageHandler < ImageDbSg > ' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:360
27 2 warning  Class ' ImageHandler < ImageDbSg > ' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:360
28 2 warning  Class ' ImageHandler < ImageDbLocal > ' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:360
29 2 warning  Class ' ImageHandler < ImageDbLocal > ' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/imagemanager.h:360
30 2 warning  Class ' VideoMetadataListManager' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/videometadatalistmanager.cpp:102
31 2 warning  Class ' VideoMetadataListManager' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythmetadata/videometadatalistmanager.cpp:102
32 2 warning  Member variable ' HLSSegment::m_played' is not assigned a value in ' HLSSegment::operator=' . mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:142
33 2 warning  Possible null pointer dereference: vaapidevicectx mythtv/libs/libmythtv/decoders/mythvaapicontext.cpp:269
mythtv/libs/libmythtv/decoders/mythvaapicontext.cpp:264
mythtv/libs/libmythtv/decoders/mythvaapicontext.cpp:263
34 2 warning  Class ' H2645Parser' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythtv/mpeg/H2645Parser.cpp:88
35 2 warning  The class ' SatIPStreamHandler' defines member variable with name ' m_inputId' also defined in its parent class ' StreamHandler' . mythtv/libs/libmythtv/recorders/satipstreamhandler.h:60
mythtv/libs/libmythtv/recorders/streamhandler.h:114
36 2 warning  The class ' SatIPStreamHandler' defines member variable with name ' m_device' also defined in its parent class ' StreamHandler' . mythtv/libs/libmythtv/recorders/satipstreamhandler.h:65
mythtv/libs/libmythtv/recorders/streamhandler.h:113
37 2 warning  Class ' DVBChannel' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythtv/recorders/dvbchannel.cpp:93
38 2 warning  Class ' DVBChannel' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythtv/recorders/dvbchannel.cpp:93
39 2 warning  Either the condition ' l> 0' is redundant or strncpy() argument nr 3 can have invalid value. The value is -1 but the valid values are ' 0:' . mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:173
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1360
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1358
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1355
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1352
40 2 warning  %i in format string (no. 1) requires ' int' but the argument type is ' unsigned int' . mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1617
41 2 warning  Missing bounds check for extra iterator increment in loop. mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp:259
mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp:265
42 2 warning  Either the condition ' m_playerContext.m_recorder' is redundant or there is possible null pointer dereference: m_playerContext.m_recorder. mythtv/libs/libmythtv/tv_play.cpp:5982
mythtv/libs/libmythtv/tv_play.cpp:5988
43 2 warning  Either the condition ' tokens.size()> =2' is redundant or tokens size can be 2. Expression ' tokens[2]' cause access out of bounds. mythtv/libs/libmythtv/tv_play.cpp:7415
mythtv/libs/libmythtv/tv_play.cpp:7414
44 2 warning  Either the condition ' sha_bang!=nullptr' is redundant or there is possible null pointer dereference: sha_bang2. mythtv/libs/libmythui/devices/lirc_client.cpp:898
mythtv/libs/libmythui/devices/lirc_client.cpp:896
mythtv/libs/libmythui/devices/lirc_client.cpp:915
45 2 warning  Class ' MythGenericTree' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythgenerictree.cpp:68
46 2 warning  Class ' MythGenericTree' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythgenerictree.cpp:68
47 2 warning  Either the condition ' child' is redundant or there is possible null pointer dereference: child. mythtv/libs/libmythui/mythgenerictree.cpp:134
mythtv/libs/libmythui/mythgenerictree.cpp:136
48 2 warning  Class ' MythNotificationCenter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythnotificationcenter.cpp:1324
49 2 warning  Class ' MythNotificationCenter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythnotificationcenter.cpp:1324
50 2 warning  The class ' MythThemedMenu' defines member variable with name ' m_parent' also defined in its parent class ' MythUIType' . mythtv/libs/libmythui/myththemedmenu.h:106
mythtv/libs/libmythui/mythuitype.h:294
51 2 warning  Either the condition ' m_selPosition< m_itemList.size()' is redundant or ' m_selPosition' can have the value greater or equal to m_itemList.size(). Expression ' m_itemList.at(m_selPosition)' cause access out of bounds. mythtv/libs/libmythui/mythuibuttonlist.cpp:2085
mythtv/libs/libmythui/mythuibuttonlist.cpp:2080
52 2 warning  Member variable ' ImageProperties::m_maskImage' is not assigned a value in ' ImageProperties::operator=' . mythtv/libs/libmythui/mythuiimage.cpp:47
53 2 warning  Class ' MythUIThemeCache' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythuithemecache.cpp:26
54 2 warning  Class ' MythUIThemeCache' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythui/mythuithemecache.cpp:26
55 2 warning  Class ' BufferedSocketDevice' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:31
56 2 warning  Class ' BufferedSocketDevice' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:31
57 2 warning  Either the condition ' listline.size()< 3' is redundant or slist size can be 3. Expression ' slist[3]' cause access out of bounds. mythtv/programs/mythbackend/mainserver.cpp:6855
mythtv/programs/mythbackend/mainserver.cpp:928
mythtv/programs/mythbackend/mainserver.cpp:925
58 2 warning  Member variable ' VideoFilterSettings::m_changedState' is not assigned a value in ' VideoFilterSettings::operator=' . mythtv/programs/mythfrontend/videofilter.cpp:76
59 2 warning  Size of pointer ' buf' used instead of size of its data. mythtv/programs/mythtranscode/mpeg2fix.cpp:52
60 2 warning  Size of pointer ' buf' used instead of size of its data. mythtv/programs/mythtranscode/mpeg2fix.cpp:55
61 2 warning  Opposite inner ' if' condition leads to a dead code block. mythplugins/mythmusic/mythmusic/cdrip.cpp:1193
mythplugins/mythmusic/mythmusic/cdrip.cpp:1191
62 2 warning  Class ' Encoder' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/encoder.cpp:19
63 2 warning  Class ' Encoder' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/encoder.cpp:19
64 2 warning  Class ' LameEncoder' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/lameencoder.cpp:103
65 2 warning  Class ' LameEncoder' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/lameencoder.cpp:103
66 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1396
mythplugins/mythmusic/mythmusic/visualize.cpp:1389
mythplugins/mythmusic/mythmusic/visualize.cpp:1386
67 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1397
mythplugins/mythmusic/mythmusic/visualize.cpp:1389
mythplugins/mythmusic/mythmusic/visualize.cpp:1387
68 2 warning  Class ' Spectrogram' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/visualize.cpp:942
69 2 warning  Class ' Spectrogram' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). mythplugins/mythmusic/mythmusic/visualize.cpp:942
70 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:337
71 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:341
72 3 performance  Function parameter ' current_key_path' should be passed by const reference. mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:124
73 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/eitscanner.cpp:138
74 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/tv_play.cpp:1638
75 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1693
76 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1722
77 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1779
78 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1810
79 3 performance  Variable ' m_message' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythui/mythuitextedit.cpp:31
80 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythuitype.cpp:250
81 3 performance  Function parameter ' Extension' should be passed by const reference. mythtv/libs/libmythui/opengl/mythegl.cpp:63
82 3 performance  Variable ' m_nWriteSize' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:57
83 3 performance  Variable ' m_nWriteIndex' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:58
84 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:35
85 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:36
86 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:37
87 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:44
88 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:45
89 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:46
90 3 performance  Variable ' m_sName' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:101
91 3 performance  Variable ' m_ttLastChanged' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:102
92 3 performance  Variable ' m_sNamespace' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/serializers/soapSerializer.h:35
93 3 performance  Variable ' m_nInterval' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptaskcache.h:46
94 3 performance  Variable ' m_sUPnpDescPath' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/ssdp.cpp:699
95 3 performance  Function parameter ' value' should be passed by const reference. mythtv/libs/libmythupnp/eventing.h:128
96 3 performance  Function parameter ' value' should be passed by const reference. mythtv/libs/libmythupnp/eventing.h:148
97 3 performance  Variable ' m_nMaxAge' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasknotify.cpp:51
98 3 performance  Variable ' m_peerAddress' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasksearch.cpp:55
99 3 performance  Variable ' m_keyList' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythtranscode/mpeg2fix.cpp:138
100 4 portability  Casting between unsigned char * and float * which have an incompatible binary data representation. mythtv/libs/libmyth/audio/audiooutputjack.cpp:418
101 4 portability  Casting between const unsigned char * and const float * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
102 4 portability  Casting between const unsigned char * and const double * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
103 4 portability  Non reentrant function ' gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function ' gmtime_r' . mythtv/libs/libmythbase/compat.h:305
104 4 portability  Non reentrant function ' localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function ' localtime_r' . mythtv/libs/libmythbase/compat.h:323
105 4 portability  Shifting signed 64-bit value by 63 bits is implementation-defined behaviour. See condition at line 471. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:471
mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:471
106 4 portability  Non reentrant function ' readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function ' readdir_r' . mythtv/libs/libmythtv/io/mythiowrapper.cpp:490
107 4 portability  %zd in format string (no. 2) requires ' ssize_t' but the argument type is ' size_t {aka unsigned long}' . mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:621
108 4 portability  Shifting a negative value is technically undefined behaviour mythtv/programs/mythbackend/httpstatus.cpp:507
109 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputca.cpp:291
110 6 style  Variable ' err' is reassigned a value before the old one has been used. mythtv/libs/libmyth/audio/audiooutputca.cpp:1198
mythtv/libs/libmyth/audio/audiooutputca.cpp:1148
111 6 style  Variable ' err' is reassigned a value before the old one has been used. mythtv/libs/libmyth/audio/audiooutputca.cpp:1198
mythtv/libs/libmyth/audio/audiooutputca.cpp:1168
112 6 style  Variable ' err' is reassigned a value before the old one has been used. mythtv/libs/libmyth/audio/audiooutputca.cpp:1386
mythtv/libs/libmyth/audio/audiooutputca.cpp:1371
113 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmyth/audio/audiooutputca.cpp:1653
114 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputdx.cpp:324
115 6 style  Condition ' m_client' is always true mythtv/libs/libmyth/audio/audiooutputjack.cpp:65
mythtv/libs/libmyth/audio/audiooutputjack.cpp:57
116 6 style  Same expression on both sides of ' /' . mythtv/libs/libmyth/audio/audiooutputjack.cpp:273
117 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:440
118 6 style  Variable ' size' is assigned a value that is never used. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:447
119 6 style  struct member ' featureStruct::flag' is never used. mythtv/libs/libmyth/audio/audiooutputsettings.cpp:432
120 6 style  struct member ' featureStruct::name' is never used. mythtv/libs/libmyth/audio/audiooutputsettings.cpp:433
121 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mediamonitor-unix.cpp:262
122 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1200
123 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1303
124 6 style  Condition ' !WSAStarted' is always true mythtv/libs/libmyth/mythcontext.cpp:1582
125 6 style  Variable ' startupState' is reassigned a value before the old one has been used. ' break; ' missing? mythtv/libs/libmyth/mythcontext.cpp:993
mythtv/libs/libmyth/mythcontext.cpp:953
126 6 style  Variable ' startupState' is reassigned a value before the old one has been used. mythtv/libs/libmyth/mythcontext.cpp:993
mythtv/libs/libmyth/mythcontext.cpp:971
127 6 style  The scope of the variable ' err' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:818
128 6 style  The scope of the variable ' port' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:824
129 6 style  Variable ' port' is assigned a value that is never used. mythtv/libs/libmyth/mythcontext.cpp:824
130 6 style  Condition ' validDBMS' is always true mythtv/libs/libmyth/schemawizard.cpp:320
mythtv/libs/libmyth/schemawizard.cpp:311
mythtv/libs/libmyth/schemawizard.cpp:305
131 6 style  The scope of the variable ' dirname' can be reduced. mythtv/libs/libmyth/storagegroupeditor.cpp:254
132 6 style  Variable ' dirname' is assigned a value that is never used. mythtv/libs/libmyth/storagegroupeditor.cpp:260
133 6 style  The scope of the variable ' sCustomAttr' can be reduced. mythtv/libs/libmythbase/http/mythxsd.cpp:408
134 6 style  Variable ' sContentName' is assigned a value that is never used. mythtv/libs/libmythbase/http/mythxsd.cpp:409
135 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:152
136 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:165
137 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:171
138 6 style  Class ' MythSystemLegacy' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythbase/mythsystemlegacy.h:73
139 6 style  Class ' MythSystemLegacy' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythbase/mythsystemlegacy.h:74
140 6 style  Parameter ' domElem' can be declared as reference to const mythtv/libs/libmythbase/netgrabbermanager.cpp:83
141 6 style  The scope of the variable ' group' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:2582
142 6 style  The scope of the variable ' usageStr' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3202
143 6 style  The scope of the variable ' recusage' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3203
144 6 style  Parameter ' frames' can be declared as reference to const mythtv/libs/libmythbase/programinfo.cpp:3544
145 6 style  Variable ' tables' can be declared as const array mythtv/libs/libmythbase/programinfo.cpp:2364
146 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/programinfoupdater.cpp:55
147 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/remoteutil.cpp:334
148 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythbase/rssparse.cpp:373
149 6 style  Condition ' p!=m_valMap.end()' is always true mythtv/libs/libmythmetadata/dbaccess.cpp:413
150 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:141
151 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:691
152 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:201
153 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:206
154 6 style  Parameter ' images' can be declared as reference to const mythtv/libs/libmythmetadata/imagemanager.cpp:2287
155 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/imagemanager.cpp:711
156 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/imagescanner.cpp:216
157 6 style  The scope of the variable ' times' can be reduced. mythtv/libs/libmythmetadata/lyricsdata.cpp:273
158 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:104
mythtv/libs/libmythmetadata/lyricsdata.h:74
159 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:105
mythtv/libs/libmythmetadata/lyricsdata.h:68
160 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:106
mythtv/libs/libmythmetadata/lyricsdata.h:71
161 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:149
mythtv/libs/libmythmetadata/lyricsdata.h:68
162 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:154
mythtv/libs/libmythmetadata/lyricsdata.h:71
163 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:159
mythtv/libs/libmythmetadata/lyricsdata.h:74
164 6 style  Local variable ' syncronized' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:164
mythtv/libs/libmythmetadata/lyricsdata.h:80
165 6 style  Local variable ' grabber' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:169
mythtv/libs/libmythmetadata/lyricsdata.h:65
166 6 style  Local variable ' lyrics' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:264
mythtv/libs/libmythmetadata/lyricsdata.h:77
167 6 style  The scope of the variable ' mxmlraw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:472
168 6 style  The scope of the variable ' error' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:517
169 6 style  The scope of the variable ' nforaw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:521
170 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatadownload.cpp:375
171 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:497
172 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:548
173 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:182
174 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:208
175 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:219
176 6 style  struct member ' GrabberOpts::m_path' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:31
177 6 style  struct member ' GrabberOpts::m_setting' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:32
178 6 style  struct member ' GrabberOpts::m_def' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:33
179 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythmetadata/metaio.cpp:228
180 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:800
181 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:856
182 6 style  Checking if unsigned expression ' db_meta-> ID()' is less than zero. mythtv/libs/libmythmetadata/musicfilescanner.cpp:571
183 6 style  Variable ' newparentid' is assigned a value that is never used. mythtv/libs/libmythmetadata/musicfilescanner.cpp:88
184 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/musicmetadata.cpp:2046
185 6 style  Parameter ' albumart' can be declared as reference to const mythtv/libs/libmythmetadata/musicmetadata.cpp:1197
186 6 style  Parameter ' the_track' can be declared as pointer to const mythtv/libs/libmythmetadata/musicmetadata.cpp:1639
187 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2104
188 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2115
189 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2127
190 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2227
191 6 style  Class ' ParentalLevel' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/parentalcontrols.h:16
192 6 style  Class ' meta_data_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:64
193 6 style  Class ' meta_dir_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:93
194 6 style  Class ' simple_ref_ptr < VideoMetadata , NoLock > ' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/quicksp.h:31
195 6 style  Class ' simple_ref_ptr < meta_dir_node , NoLock > ' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/quicksp.h:31
196 6 style  Class ' simple_ref_ptr < meta_data_node , NoLock > ' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/quicksp.h:31
197 6 style  Checking if unsigned expression ' m_ref-> dec()' is less than zero. mythtv/libs/libmythmetadata/quicksp.h:142
198 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoscan.cpp:169
199 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoutils.cpp:108
200 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythprotoserver/requesthandler/deletethread.cpp:46
201 6 style  The scope of the variable ' currentDir' can be reduced. mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp:502
202 6 style  The scope of the variable ' lang_sub_cnt' can be reduced. mythtv/libs/libmythtv/DVD/mythdvddecoder.cpp:438
203 6 style  The scope of the variable ' fields' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:329
204 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:330
205 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:331
206 6 style  The scope of the variable ' dvdstate' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:332
207 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:377
208 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:378
209 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:834
210 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:947
211 6 style  Condition ' m_interrupted' is always false mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:1133
mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:1123
212 6 style  Variable ' ccp' can be declared as reference to const mythtv/libs/libmythtv/captions/cc608reader.cpp:286
213 6 style  Condition ' DLY==code' is always true mythtv/libs/libmythtv/captions/cc708decoder.cpp:407
mythtv/libs/libmythtv/captions/cc708decoder.cpp:393
mythtv/libs/libmythtv/captions/cc708decoder.cpp:405
214 6 style  Variable ' chr' can be declared as reference to const mythtv/libs/libmythtv/captions/cc708window.cpp:322
215 6 style  The scope of the variable ' fg_palette' can be reduced. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1531
216 6 style  Variable ' ret' is assigned a value that is never used. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1854
217 6 style  The scope of the variable ' deviceIsIP' can be reduced. mythtv/libs/libmythtv/cardutil.cpp:3115
218 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:464
219 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:2806
220 6 style  struct member ' fe_caps_name::idx' is never used. mythtv/libs/libmythtv/cardutil.cpp:2468
221 6 style  struct member ' fe_caps_name::name' is never used. mythtv/libs/libmythtv/cardutil.cpp:2469
222 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:2008
223 6 style  Variable ' tt' can be declared as reference to const mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:727
224 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:729
225 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:1343
226 6 style  Variable ' atsc_major' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:125
227 6 style  Variable ' atsc_minor' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:126
228 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:336
mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:315
229 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:121
mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:101
230 6 style  Variable ' scan' can be declared as reference to const mythtv/libs/libmythtv/channelscan/scaninfo.cpp:260
231 6 style  Local variable ' frequency' shadows outer function mythtv/libs/libmythtv/channelscan/scanwizardconfig.cpp:31
mythtv/libs/libmythtv/channelscan/panedvbs2.h:35
232 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:139
mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:114
233 6 style  Variable ' mplexID' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:184
234 6 style  Parameter ' Context' can be declared as pointer to const mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:221
235 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:2541
236 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:4236
237 6 style  Variable ' entry' can be declared as reference to const mythtv/libs/libmythtv/decoders/decoderbase.cpp:516
238 6 style  struct member ' V4L2RequestDescriptor::drm' is never used. mythtv/libs/libmythtv/decoders/mythv4l2m2mcontext.cpp:31
239 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:493
240 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:525
241 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:651
242 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:727
243 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:752
244 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:760
245 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:762
246 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:780
247 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:817
248 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1121
249 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1435
250 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1457
251 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1479
252 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1710
253 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:2201
254 6 style  Variable ' tree' can be declared as reference to const mythtv/libs/libmythtv/diseqc.cpp:287
255 6 style  Variable ' child' can be declared as pointer to const mythtv/libs/libmythtv/diseqc.cpp:1327
256 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:100
257 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:109
258 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:1330
259 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/dtvconfparser.cpp:307
260 6 style  Variable ' event.m_subtitle' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/eitfixup.cpp:1054
mythtv/libs/libmythtv/eitfixup.cpp:1049
261 6 style  struct member ' NLMapResult::name' is never used. mythtv/libs/libmythtv/eitfixup.cpp:1977
262 6 style  struct member ' grCategoryEntry::category' is never used. mythtv/libs/libmythtv/eitfixup.cpp:2905
263 6 style  Unused private function: ' TransportScanItem::GetMultiplexIdFromDB' mythtv/libs/libmythtv/frequencytables.h:170
264 6 style  Class ' transport_scan_items_it_t' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/frequencytables.h:199
265 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/frequencytables.cpp:257
266 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:154
267 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:275
268 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:225
269 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:243
270 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:518
271 6 style  Same expression on both sides of ' |' because ' O_STREAMING' and ' O_LARGEFILE' represent the same value. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:214
mythtv/libs/libmythtv/io/mythfilebuffer.cpp:38
mythtv/libs/libmythtv/io/mythfilebuffer.cpp:34
272 6 style  Same expression on both sides of ' |' because ' O_BINARY' and ' O_STREAMING' represent the same value. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:214
mythtv/libs/libmythtv/io/mythfilebuffer.cpp:34
mythtv/libs/libmythtv/io/mythfilebuffer.cpp:42
273 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:156
274 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:332
275 6 style  Condition ' available< Count' is always true mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1216
mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1213
276 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/jobqueue.cpp:787
277 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/jobqueue.cpp:1063
278 6 style  Variable ' filesize' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2012
279 6 style  Variable ' path' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2328
280 6 style  Variable ' block' can be declared as pointer to const mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:71
281 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:72
282 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/mheg/mhi.cpp:149
283 6 style  struct member ' lineSeg::m_yBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1706
284 6 style  struct member ' lineSeg::m_yTop' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1706
285 6 style  struct member ' lineSeg::m_xBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1706
286 6 style  struct member ' lineSeg::m_slope' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1706
287 6 style  The scope of the variable ' use_delta_flag' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1057
288 6 style  The scope of the variable ' delta_poc_s0_minus1' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1059
289 6 style  Unsigned expression ' type' can' t be negative so it is unnecessary to test it. mythtv/libs/libmythtv/mpeg/HEVCParser.h:240
290 6 style  struct member ' huffman_table::m_character' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:11
291 6 style  struct member ' huffman_table::m_numberOfBits' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:12
292 6 style  struct member ' huff2_parts::table' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2184
293 6 style  struct member ' huff2_parts::lookup' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2185
294 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:135
295 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:164
296 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:272
297 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:297
298 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
299 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:424
300 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:427
301 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1629
302 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1654
303 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1681
304 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1721
305 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1746
306 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:935
307 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:953
308 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1185
309 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1204
310 6 style  Virtual function ' HasCRC' is called from constructor ' PESPacket(const char*pesdata)' at line 39. Dynamic binding is not used. mythtv/libs/libmythtv/mpeg/pespacket.h:132
mythtv/libs/libmythtv/mpeg/pespacket.cpp:171
mythtv/libs/libmythtv/mpeg/pespacket.h:39
311 6 style  Virtual function ' HasCRC' is called from constructor ' PESPacket(const std::vector< uint8_t> & pesdata)' at line 46. Dynamic binding is not used. mythtv/libs/libmythtv/mpeg/pespacket.h:132
mythtv/libs/libmythtv/mpeg/pespacket.cpp:171
mythtv/libs/libmythtv/mpeg/pespacket.h:46
312 6 style  Local variable ' data' shadows outer function mythtv/libs/libmythtv/mpeg/pespacket.cpp:146
mythtv/libs/libmythtv/mpeg/pespacket.h:169
313 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/dummydecoder.h:21
314 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1138
315 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1140
316 6 style  Condition ' length_ms< offset_ms' is always true mythtv/libs/libmythtv/mythplayer.cpp:1791
mythtv/libs/libmythtv/mythplayer.cpp:1787
317 6 style  Condition ' m_ffrewSkip> 0' is always false mythtv/libs/libmythtv/mythplayerui.cpp:206
mythtv/libs/libmythtv/mythplayerui.cpp:202
318 6 style  Condition ' nomatch_without_fill' is always false mythtv/libs/libmythtv/mythvideobounds.cpp:372
mythtv/libs/libmythtv/mythvideobounds.cpp:357
mythtv/libs/libmythtv/mythvideobounds.cpp:366
319 6 style  Condition ' nomatch_without_fill' is always false mythtv/libs/libmythtv/mythvideobounds.cpp:378
mythtv/libs/libmythtv/mythvideobounds.cpp:357
mythtv/libs/libmythtv/mythvideobounds.cpp:366
320 6 style  Condition ' !cudabuffer' is always false mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp:153
321 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1020
322 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1022
323 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1024
324 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/previewgenerator.cpp:542
325 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:556
326 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:715
327 6 style  The scope of the variable ' chanid' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1649
328 6 style  The scope of the variable ' starttime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1650
329 6 style  The scope of the variable ' endtime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1651
330 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:905
331 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1231
332 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1403
333 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:327
334 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:373
335 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:398
336 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:669
337 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp:97
338 6 style  The scope of the variable ' result' can be reduced. mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1126
339 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp:867
340 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/asirecorder.cpp:145
341 6 style  Condition ' isLocked' is always true mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:117
mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:104
342 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:152
343 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:165
344 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonrecorder.cpp:99
345 6 style  The scope of the variable ' sig' can be reduced. mythtv/libs/libmythtv/recorders/cetonsignalmonitor.cpp:100
346 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:441
347 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:460
348 6 style  Condition ' channel' is always true mythtv/libs/libmythtv/recorders/channelbase.cpp:817
349 6 style  Variable ' device' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/recorders/channelbase.cpp:383
mythtv/libs/libmythtv/recorders/channelbase.cpp:378
350 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/recorders/channelbase.cpp:84
351 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/channelbase.cpp:88
352 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:187
353 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:220
354 6 style  Unused private function: ' DarwinFirewireDevice::RunController' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:69
355 6 style  Unused private function: ' DarwinFirewireDevice::UpdateDeviceListItem' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:71
356 6 style  Unused private function: ' DarwinFirewireDevice::ProcessNoDataMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:72
357 6 style  Unused private function: ' DarwinFirewireDevice::ProcessStreamingMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:73
358 6 style  Virtual function ' ClosePort' is called from destructor ' ~DarwinFirewireDevice()' at line 130. Dynamic binding is not used. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:28
mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:130
359 6 style  Condition ' lnb' is always true mythtv/libs/libmythtv/recorders/dvbchannel.cpp:878
360 6 style  The scope of the variable ' can_fec_auto' can be reduced. mythtv/libs/libmythtv/recorders/dvbchannel.cpp:790
361 6 style  Local variable ' NumSlots' shadows outer function mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1610
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.h:147
362 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1655
363 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1664
364 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbrecorder.cpp:147
365 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbsignalmonitor.cpp:163
366 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:195
367 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:241
368 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:262
369 6 style  Variable ' digit' can be declared as const array mythtv/libs/libmythtv/recorders/firewiredevice.cpp:163
370 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:19
371 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:20
372 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:21
373 6 style  Class ' UDPPacketBuffer' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/udppacketbuffer.h:15
374 6 style  Condition ' m_requestRecording' is always false mythtv/libs/libmythtv/recorders/recorderbase.cpp:232
mythtv/libs/libmythtv/recorders/recorderbase.cpp:227
375 6 style  Condition ' m_curRecording' is always true mythtv/libs/libmythtv/recorders/recorderbase.cpp:797
376 6 style  Variable ' adhdr' can be declared as reference to const mythtv/libs/libmythtv/recorders/satiprtsp.cpp:76
377 6 style  The if condition is the same as the previous if condition mythtv/libs/libmythtv/recorders/satipstreamhandler.cpp:437
mythtv/libs/libmythtv/recorders/satipstreamhandler.cpp:430
378 6 style  Variable ' entry' can be declared as pointer to const mythtv/libs/libmythtv/recorders/signalmonitor.cpp:388
379 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:390
380 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:404
381 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:253
382 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:329
383 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:333
384 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/recorders/streamhandler.cpp:254
385 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/recorders/streamhandler.cpp:330
386 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/recorders/streamhandler.cpp:334
387 6 style  Condition ' !IsHelperRequested()' is always false mythtv/libs/libmythtv/recorders/v4lrecorder.cpp:243
mythtv/libs/libmythtv/recorders/v4lrecorder.cpp:240
mythtv/libs/libmythtv/recorders/v4lrecorder.cpp:238
388 6 style  Condition ' cvtp' is always false mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:107
mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:102
389 6 style  Local variable ' sync' shadows outer function mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:369
mythtv//usr/include/unistd.h:970
390 6 style  Parameter ' handler' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
391 6 style  Parameter ' data' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
392 6 style  The scope of the variable ' icon' can be reduced. mythtv/libs/libmythtv/recorders/vboxutils.cpp:335
393 6 style  Variable ' icon' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/vboxutils.cpp:335
394 6 style  Variable ' icon' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/vboxutils.cpp:340
395 6 style  Variable ' option' can be declared as reference to const mythtv/libs/libmythtv/recordingprofile.cpp:1003
396 6 style  The if condition is the same as the previous if condition mythtv/libs/libmythtv/tv_play.cpp:6752
mythtv/libs/libmythtv/tv_play.cpp:6750
397 6 style  Condition ' !channum.isEmpty()' is always false mythtv/libs/libmythtv/tv_play.cpp:1531
mythtv/libs/libmythtv/tv_play.cpp:1527
398 6 style  Condition ' !handled' is always true mythtv/libs/libmythtv/tv_play.cpp:3449
mythtv/libs/libmythtv/tv_play.cpp:3446
399 6 style  Condition ' track> =start' is always true mythtv/libs/libmythtv/tv_play.cpp:4392
mythtv/libs/libmythtv/tv_play.cpp:4390
mythtv/libs/libmythtv/tv_play.cpp:4382
400 6 style  Condition ' !Chanid' is always true mythtv/libs/libmythtv/tv_play.cpp:6026
mythtv/libs/libmythtv/tv_play.cpp:5998
401 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/tv_play.cpp:4898
402 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4410
mythtv/libs/libmythtv/tv_play.cpp:4400
403 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4420
mythtv/libs/libmythtv/tv_play.cpp:4410
404 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4430
mythtv/libs/libmythtv/tv_play.cpp:4420
405 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4440
mythtv/libs/libmythtv/tv_play.cpp:4430
406 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8557
mythtv/libs/libmythtv/tv_play.cpp:8555
407 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8559
mythtv/libs/libmythtv/tv_play.cpp:8557
408 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8561
mythtv/libs/libmythtv/tv_play.cpp:8559
409 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8569
mythtv/libs/libmythtv/tv_play.cpp:8567
410 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8571
mythtv/libs/libmythtv/tv_play.cpp:8569
411 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8573
mythtv/libs/libmythtv/tv_play.cpp:8571
412 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8641
mythtv/libs/libmythtv/tv_play.cpp:8640
413 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8642
mythtv/libs/libmythtv/tv_play.cpp:8641
414 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8643
mythtv/libs/libmythtv/tv_play.cpp:8642
415 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8644
mythtv/libs/libmythtv/tv_play.cpp:8643
416 6 style  The scope of the variable ' tunable_on' can be reduced. mythtv/libs/libmythtv/tv_play.cpp:5980
417 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:5443
418 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:6690
419 6 style  Variable ' visualiser' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8513
420 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8730
421 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8753
422 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/tv_play.cpp:6046
423 6 style  struct member ' speed::m_speedX100' is never used. mythtv/libs/libmythtv/tv_play.cpp:8612
424 6 style  struct member ' speed::m_suffix' is never used. mythtv/libs/libmythtv/tv_play.cpp:8613
425 6 style  struct member ' speed::m_trans' is never used. mythtv/libs/libmythtv/tv_play.cpp:8614
426 6 style  Variable ' subs' is assigned a value that is never used. mythtv/libs/libmythtv/tv_play.cpp:4440
427 6 style  Variable ' discard' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:508
428 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:532
429 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:819
430 6 style  The scope of the variable ' origPath' can be reduced. mythtv/libs/libmythtv/videodbcheck.cpp:555
431 6 style  The comparison ' current != cur' is always false because ' current' and ' cur' represent the same value. mythtv/libs/libmythtv/videosource.cpp:1728
mythtv/libs/libmythtv/videosource.cpp:1704
432 6 style  The scope of the variable ' dn' can be reduced. mythtv/libs/libmythtv/videosource.cpp:2422
433 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/videosource.cpp:3093
434 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/videosource.cpp:1717
435 6 style  Variable ' cn' is assigned a value that is never used. mythtv/libs/libmythtv/videosource.cpp:2428
436 6 style  Variable ' vbo' can be declared as reference to const mythtv/libs/libmythtv/visualisations/opengl/mythvisualmonoscopeopengl.cpp:23
437 6 style  Variable ' m_dftL[k]' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp:61
mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp:60
438 6 style  Variable ' vertex' can be declared as reference to const mythtv/libs/libmythtv/visualisations/vulkan/mythvisualmonoscopevulkan.cpp:345
439 6 style  Condition ' rep==0' is always true mythtv/libs/libmythui/devices/lirc_client.cpp:1598
mythtv/libs/libmythui/devices/lirc_client.cpp:1561
mythtv/libs/libmythui/devices/lirc_client.cpp:1552
440 6 style  Same expression on both sides of ' & & ' because ' token2!=nullptr' and ' strtok_r(nullptr," \t" ,& strtok_state)!=nullptr' represent the same value. mythtv/libs/libmythui/devices/lirc_client.cpp:1069
mythtv/libs/libmythui/devices/lirc_client.cpp:1068
441 6 style  Class ' MythMenuItem' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythdialogbox.h:70
442 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:145
mythtv/libs/libmythui/mythdialogbox.cpp:139
443 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:465
mythtv/libs/libmythui/mythdialogbox.cpp:460
444 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:471
mythtv/libs/libmythui/mythdialogbox.cpp:458
445 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:473
mythtv/libs/libmythui/mythdialogbox.cpp:458
446 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:476
mythtv/libs/libmythui/mythdialogbox.cpp:457
447 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:633
mythtv/libs/libmythui/mythdialogbox.cpp:627
448 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:639
mythtv/libs/libmythui/mythdialogbox.cpp:625
449 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:641
mythtv/libs/libmythui/mythdialogbox.cpp:624
450 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:648
mythtv/libs/libmythui/mythdialogbox.cpp:623
451 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:702
mythtv/libs/libmythui/mythdialogbox.cpp:696
452 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:708
mythtv/libs/libmythui/mythdialogbox.cpp:694
453 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:710
mythtv/libs/libmythui/mythdialogbox.cpp:693
454 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:713
mythtv/libs/libmythui/mythdialogbox.cpp:692
455 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:793
mythtv/libs/libmythui/mythdialogbox.cpp:785
456 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:799
mythtv/libs/libmythui/mythdialogbox.cpp:783
457 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:802
mythtv/libs/libmythui/mythdialogbox.cpp:782
458 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:901
mythtv/libs/libmythui/mythdialogbox.cpp:895
459 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1010
mythtv/libs/libmythui/mythdialogbox.cpp:892
460 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1013
mythtv/libs/libmythui/mythdialogbox.cpp:893
461 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:928
462 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:976
463 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:928
464 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:976
465 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythdisplay.cpp:356
466 6 style  Local variable ' face' shadows outer function mythtv/libs/libmythui/mythfontproperties.cpp:231
mythtv/libs/libmythui/mythfontproperties.h:25
467 6 style  Condition ' !twosel' is always false mythtv/libs/libmythui/mythgenerictree.cpp:35
mythtv/libs/libmythui/mythgenerictree.cpp:33
mythtv/libs/libmythui/mythgenerictree.cpp:35
468 6 style  Unused private function: ' MythGesture::HasMinimumPoints' mythtv/libs/libmythui/mythgesture.h:115
469 6 style  Condition ' !result' is always true mythtv/libs/libmythui/mythhdr.cpp:42
mythtv/libs/libmythui/mythhdr.cpp:32
470 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1538
mythtv/libs/libmythui/mythmainwindow.h:147
471 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1659
mythtv/libs/libmythui/mythmainwindow.h:147
472 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1913
mythtv/libs/libmythui/mythmainwindow.h:147
473 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1985
mythtv/libs/libmythui/mythmainwindow.h:147
474 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:2071
mythtv/libs/libmythui/mythmainwindow.h:147
475 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythmainwindow.cpp:416
476 6 style  Class ' MythNotification' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythnotification.h:40
477 6 style  Redundant initialization for ' it' . The initialized value is overwritten before it is read. mythtv/libs/libmythui/mythnotificationcenter.cpp:1162
mythtv/libs/libmythui/mythnotificationcenter.cpp:1146
478 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythui/mythpainter.cpp:501
479 6 style  Class ' MythD3DSurface' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythrender_d3d9.h:78
480 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythpainterwindow.cpp:126
481 6 style  Variable ' screensaver' can be declared as pointer to const mythtv/libs/libmythui/mythscreensaver.cpp:69
482 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythscreensaver.cpp:80
483 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythscreenstack.cpp:321
484 6 style  The scope of the variable ' menuaction' can be reduced. mythtv/libs/libmythui/myththemedmenu.cpp:224
485 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/myththemedmenu.cpp:709
486 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuibuttonlist.cpp:3923
mythtv/libs/libmythui/mythuibuttonlist.cpp:3917
487 6 style  The scope of the variable ' last_item' can be reduced. mythtv/libs/libmythui/mythuibuttonlist.cpp:736
488 6 style  The scope of the variable ' found' can be reduced. mythtv/libs/libmythui/mythuibuttonlist.cpp:3157
489 6 style  Local variable ' state' shadows outer function mythtv/libs/libmythui/mythuibuttonlist.cpp:3830
mythtv/libs/libmythui/mythuibuttonlist.h:130
490 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:624
491 6 style  Variable ' last_item' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:736
492 6 style  Variable ' total' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:905
493 6 style  Variable ' x_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1162
494 6 style  Variable ' y_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1163
495 6 style  Variable ' found' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:3157
496 6 style  Expression is always true because ' else if' condition is opposite to previous condition at line 467. mythtv/libs/libmythui/mythuibuttontree.cpp:480
mythtv/libs/libmythui/mythuibuttontree.cpp:467
497 6 style  Local variable ' isDir' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:68
mythtv/libs/libmythui/mythuifilebrowser.h:39
498 6 style  Local variable ' size' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:69
mythtv/libs/libmythui/mythuifilebrowser.h:44
499 6 style  Local variable ' isDir' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:79
mythtv/libs/libmythui/mythuifilebrowser.h:39
500 6 style  Local variable ' size' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:80
mythtv/libs/libmythui/mythuifilebrowser.h:44
501 6 style  Parameter ' cbs' can be declared as reference to const mythtv/libs/libmythui/mythuihelper.cpp:76
502 6 style  The scope of the variable ' imagelabel' can be reduced. mythtv/libs/libmythui/mythuiimage.cpp:1000
503 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuispinbox.cpp:310
mythtv/libs/libmythui/mythuispinbox.cpp:304
504 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuitext.cpp:478
505 6 style  The scope of the variable ' dirName' can be reduced. mythtv/libs/libmythui/mythuithemehelper.cpp:161
506 6 style  The statement ' if (m_enabled!=enable) m_enabled=enable' is logically equivalent to ' m_enabled=enable' . mythtv/libs/libmythui/mythuitype.cpp:1133
mythtv/libs/libmythui/mythuitype.cpp:1134
507 6 style  Condition ' m_image' is always true mythtv/libs/libmythui/mythuivideo.cpp:87
508 6 style  Redundant condition: m_active. ' !m_active || (m_active & & !m_browser-> hasFocus())' is equivalent to ' !m_active || !m_browser-> hasFocus()' mythtv/libs/libmythui/mythuiwebbrowser.cpp:1464
509 6 style  struct member ' MimeType::m_extension' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:46
510 6 style  struct member ' MimeType::m_isVideo' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:47
511 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythvirtualkeyboard.cpp:425
512 6 style  Variable ' crtc' can be declared as reference to const mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:415
513 6 style  Variable ' crtcs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:215
514 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:216
515 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:432
516 6 style  Condition ' !dbuserr.isEmpty()' is always false mythtv/libs/libmythui/platforms/mythscreensaverdbus.cpp:155
517 6 style  Condition ' m_xscreensaverRunning' is always true mythtv/libs/libmythui/platforms/mythscreensaverx11.cpp:37
mythtv/libs/libmythui/platforms/mythscreensaverx11.cpp:32
518 6 style  Condition ' (++m_nKey)==0' is always false mythtv/libs/libmythupnp/eventing.h:56
519 6 style  Variable ' cspNonce' is assigned a value that is never used. mythtv/libs/libmythupnp/htmlserver.cpp:121
520 6 style  The scope of the variable ' bRange' can be reduced. mythtv/libs/libmythupnp/httprequest.cpp:483
521 6 style  The scope of the variable ' ext' can be reduced. mythtv/libs/libmythupnp/httprequest.cpp:980
522 6 style  Variable ' llEnd' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:458
523 6 style  Variable ' bRange' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:483
524 6 style  Variable ' sService' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:1639
525 6 style  Local variable ' address' shadows outer function mythtv/libs/libmythupnp/mmulticastsocketdevice.cpp:99
mythtv/libs/libmythupnp/mmulticastsocketdevice.h:62
526 6 style  The scope of the variable ' bInCode' can be reduced. mythtv/libs/libmythupnp/serverSideScripting.cpp:449
527 6 style  Variable ' nEndPos' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:575
528 6 style  Variable ' nMatchPos' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:576
529 6 style  Variable ' bMatchFound' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:577
530 6 style  Variable ' ex' can be declared as reference to const mythtv/libs/libmythupnp/servicehost.cpp:162
531 6 style  The scope of the variable ' sValue' can be reduced. mythtv/libs/libmythupnp/soapclient.cpp:153
532 6 style  Variable ' socket' can be declared as reference to const mythtv/libs/libmythupnp/ssdp.cpp:133
533 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythupnp/taskqueue.cpp:141
534 6 style  Parameter ' sIPAddrList' can be declared as reference to const mythtv/libs/libmythupnp/upnp.cpp:90
535 6 style  The scope of the variable ' filterName' can be reduced. mythtv/libs/libmythupnp/upnpcdsobjects.cpp:423
536 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythupnp/upnpdevice.cpp:799
537 6 style  The scope of the variable ' str' can be reduced. mythtv/libs/libmythupnp/upnphelpers.cpp:369
538 6 style  Variable ' str' is not assigned a value. mythtv/libs/libmythupnp/upnphelpers.cpp:369
539 6 style  The scope of the variable ' timeout' can be reduced. mythtv/libs/libmythupnp/upnpsubscription.cpp:378
540 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:696
541 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:705
542 6 style  Variable ' it' is assigned a value that is never used. mythtv/libs/libmythupnp/websocket.cpp:954
543 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythupnp/xsd.cpp:937
544 6 style  Variable ' sContentName' is assigned a value that is never used. mythtv/libs/libmythupnp/xsd.cpp:394
545 6 style  The scope of the variable ' msg' can be reduced. mythtv/programs/mythbackend/autoexpire.cpp:619
546 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/programs/mythbackend/autoexpire.cpp:872
547 6 style  The scope of the variable ' subversion' can be reduced. mythtv/programs/mythbackend/backendhousekeeper.cpp:356
548 6 style  Variable ' tables' can be declared as const array mythtv/programs/mythbackend/backendhousekeeper.cpp:121
549 6 style  Variable ' sRep' is reassigned a value before the old one has been used. mythtv/programs/mythbackend/httpstatus.cpp:1301
mythtv/programs/mythbackend/httpstatus.cpp:1300
550 6 style  The scope of the variable ' sMsg' can be reduced. mythtv/programs/mythbackend/httpstatus.cpp:1407
551 6 style  Variable ' hostname' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:458
552 6 style  Variable ' isLocalstr' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:460
553 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1407
554 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1418
555 6 style  Parameter ' chanid' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:2999
556 6 style  Parameter ' slist' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:3742
557 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:1776
558 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7982
559 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8005
560 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8027
561 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8036
562 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8046
563 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8056
564 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8066
565 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8091
566 6 style  Variable ' masterServerSock' is assigned a value that is never used. mythtv/programs/mythbackend/mainserver.cpp:8252
567 6 style  Variable ' pHttpServer' is assigned a value that is never used. mythtv/programs/mythbackend/mediaserver.cpp:85
568 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/programs/mythbackend/mythbackend.cpp:177
569 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/programs/mythbackend/scheduler.cpp:2046
570 6 style  Condition ' m_doRun' is always true mythtv/programs/mythbackend/scheduler.cpp:95
mythtv/programs/mythbackend/scheduler.cpp:89
571 6 style  Variable ' p' can be declared as reference to const mythtv/programs/mythbackend/scheduler.cpp:799
572 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:583
573 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:1813
574 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4674
575 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4772
576 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4892
577 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:5781
578 6 style  Condition ' i< (commercials-1)' is always true mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1969
mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1957
579 6 style  The scope of the variable ' msg' can be reduced. mythtv/programs/mythcommflag/ClassicCommDetector.cpp:2243
580 6 style  Condition ' histogramAnalyzer' is always true mythtv/programs/mythcommflag/CommDetector2.cpp:361
581 6 style  Variable ' pas' can be declared as pointer to const mythtv/programs/mythcommflag/CommDetector2.cpp:172
582 6 style  Expression is always true because ' else if' condition is opposite to previous condition at line 638. mythtv/programs/mythcommflag/mythcommflag.cpp:678
mythtv/programs/mythcommflag/mythcommflag.cpp:638
583 6 style  The comparison ' API_VERSION == 1' is always true. mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:195
mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:26
584 6 style  Condition ' dbChan.m_name!=(*i).m_name' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:315
mythtv/programs/mythfilldatabase/channeldata.cpp:303
585 6 style  Condition ' dbChan.m_chanNum!=(*i).m_chanNum' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:317
mythtv/programs/mythfilldatabase/channeldata.cpp:305
586 6 style  Condition ' dbChan.m_fineTune!=(*i).m_fineTune' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:318
mythtv/programs/mythfilldatabase/channeldata.cpp:306
587 6 style  Condition ' dbChan.m_freqId!=(*i).m_freqId' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:319
mythtv/programs/mythfilldatabase/channeldata.cpp:307
588 6 style  Condition ' dbChan.m_tvFormat!=(*i).m_tvFormat' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:321
mythtv/programs/mythfilldatabase/channeldata.cpp:308
589 6 style  The scope of the variable ' status' can be reduced. mythtv/programs/mythfilldatabase/filldata.cpp:249
590 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:690
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
591 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:692
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
592 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:749
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
593 6 style  Variable ' menuPopup' is assigned a value that is never used. mythtv/programs/mythfrontend/channelrecpriority.cpp:165
594 6 style  The scope of the variable ' filename' can be reduced. mythtv/programs/mythfrontend/example.cpp:117
595 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythfrontend/example.cpp:118
596 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2569
mythtv//usr/include/unistd.h:469
597 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2583
mythtv//usr/include/unistd.h:469
598 6 style  Parameter ' Value' can be declared as reference to const mythtv/programs/mythfrontend/globalsettings.cpp:1100
599 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythfrontend/globalsettings.cpp:1052
600 6 style  Variable ' pi' can be declared as reference to const mythtv/programs/mythfrontend/guidegrid.cpp:1203
601 6 style  Variable ' pHttpServer' is assigned a value that is never used. mythtv/programs/mythfrontend/mediarenderer.cpp:63
602 6 style  The scope of the variable ' reply' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1644
603 6 style  The scope of the variable ' subtitle' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1761
604 6 style  The scope of the variable ' name' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:2059
605 6 style  The scope of the variable ' command' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:3692
606 6 style  The scope of the variable ' adjustmsg' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:165
607 6 style  The scope of the variable ' pname' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:532
608 6 style  The scope of the variable ' character' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:533
609 6 style  The scope of the variable ' itemText' can be reduced. mythtv/programs/mythfrontend/progfind.cpp:450
610 6 style  The scope of the variable ' keyText' can be reduced. mythtv/programs/mythfrontend/services/frontend.cpp:347
611 6 style  The scope of the variable ' line' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:909
612 6 style  The scope of the variable ' detail' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:910
613 6 style  The scope of the variable ' hostnames' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1370
614 6 style  The scope of the variable ' contentLine' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1574
615 6 style  The scope of the variable ' detailInfo' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1575
616 6 style  Variable ' diskinfo' can be declared as reference to const mythtv/programs/mythfrontend/statusbox.cpp:1421
617 6 style  struct member ' info::m_inputid' is never used. mythtv/programs/mythfrontend/statusbox.cpp:752
618 6 style  struct member ' info::m_schedgroup' is never used. mythtv/programs/mythfrontend/statusbox.cpp:753
619 6 style  struct member ' info::m_displayname' is never used. mythtv/programs/mythfrontend/statusbox.cpp:754
620 6 style  struct member ' info::m_errored' is never used. mythtv/programs/mythfrontend/statusbox.cpp:755
621 6 style  struct member ' info::m_unavailable' is never used. mythtv/programs/mythfrontend/statusbox.cpp:756
622 6 style  struct member ' info::m_sleeping' is never used. mythtv/programs/mythfrontend/statusbox.cpp:757
623 6 style  struct member ' info::m_recording' is never used. mythtv/programs/mythfrontend/statusbox.cpp:758
624 6 style  struct member ' info::m_livetv' is never used. mythtv/programs/mythfrontend/statusbox.cpp:759
625 6 style  struct member ' info::m_available' is never used. mythtv/programs/mythfrontend/statusbox.cpp:760
626 6 style  struct member ' info::m_recordings' is never used. mythtv/programs/mythfrontend/statusbox.cpp:761
627 6 style  The scope of the variable ' subversion' can be reduced. mythtv/programs/mythfrontend/themechooser.cpp:207
628 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1108
629 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1132
630 6 style  The scope of the variable ' cover_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3503
631 6 style  The scope of the variable ' fanart_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3526
632 6 style  The scope of the variable ' banner_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3542
633 6 style  The scope of the variable ' screenshot_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3558
634 6 style  Variable ' fa' can be declared as reference to const mythtv/programs/mythfrontend/videofileassoc.cpp:179
635 6 style  The scope of the variable ' ptnm' can be reduced. mythtv/programs/mythfrontend/videolist.cpp:972
636 6 style  Condition ' counter< m_lcdHeight' is always true mythtv/programs/mythlcdserver/lcdprocclient.cpp:1362
mythtv/programs/mythlcdserver/lcdprocclient.cpp:1333
637 6 style  The scope of the variable ' aString' can be reduced. mythtv/programs/mythlcdserver/lcdprocclient.cpp:417
638 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1054
639 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1678
640 6 style  Parameter ' deleteMap' can be declared as pointer to const mythtv/programs/mythtranscode/mythtranscode.cpp:776
641 6 style  The statement ' if (video_aspect!=new_aspect) video_aspect=new_aspect' is logically equivalent to ' video_aspect=new_aspect' . mythtv/programs/mythtranscode/transcode.cpp:1300
mythtv/programs/mythtranscode/transcode.cpp:1302
642 6 style  Condition ' !avfw' is always false mythtv/programs/mythtranscode/transcode.cpp:431
643 6 style  Condition ' !hls' is always false mythtv/programs/mythtranscode/transcode.cpp:458
644 6 style  Condition ' m_avfMode' is always true mythtv/programs/mythtranscode/transcode.cpp:1404
mythtv/programs/mythtranscode/transcode.cpp:1390
645 6 style  Variable ' encodingType' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:354
646 6 style  Variable ' audsetting' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:359
647 6 style  Variable ' vidfilters' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:360
648 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:582
mythtv/programs/mythtv-setup/channeleditor.h:23
649 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:755
mythtv/programs/mythtv-setup/channeleditor.h:23
650 6 style  Class ' ExpertSettingsEditor' has a constructor with 1 argument that is not explicit. mythtv/programs/mythtv-setup/expertsettingseditor.h:13
651 6 style  Parameter ' selection' can be declared as reference to const. However it seems that ' SetupMenuCallback' is a callback function, if ' selection' is declared with const you might also need to cast function pointer(s). mythtv/programs/mythtv-setup/mythtv-setup.cpp:71
mythtv/programs/mythtv-setup/mythtv-setup.cpp:181
652 6 style  The scope of the variable ' image' can be reduced. mythtv/programs/mythutil/messageutils.cpp:62
653 6 style  The scope of the variable ' origin' can be reduced. mythtv/programs/mythutil/messageutils.cpp:63
654 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythutil/messageutils.cpp:64
655 6 style  The scope of the variable ' extra' can be reduced. mythtv/programs/mythutil/messageutils.cpp:65
656 6 style  The scope of the variable ' progress_text' can be reduced. mythtv/programs/mythutil/messageutils.cpp:66
657 6 style  The scope of the variable ' progress' can be reduced. mythtv/programs/mythutil/messageutils.cpp:67
658 6 style  The scope of the variable ' fullscreen' can be reduced. mythtv/programs/mythutil/messageutils.cpp:68
659 6 style  The scope of the variable ' error' can be reduced. mythtv/programs/mythutil/messageutils.cpp:69
660 6 style  The scope of the variable ' visibility' can be reduced. mythtv/programs/mythutil/messageutils.cpp:70
661 6 style  The scope of the variable ' type' can be reduced. mythtv/programs/mythutil/messageutils.cpp:71
662 6 style  Variable ' status' is assigned a value that is never used. mythtv/programs/mythwelcome/welcomedialog.cpp:404
663 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/exportnative.cpp:136
664 6 style  Variable ' searchDialog' is assigned a value that is never used. mythplugins/mytharchive/mytharchive/importnative.cpp:515
665 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:192
666 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:549
667 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:694
668 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mytharchive/mytharchive/recordingselector.cpp:129
669 6 style  Variable ' p' can be declared as pointer to const mythplugins/mytharchive/mytharchive/recordingselector.cpp:199
670 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/recordingselector.cpp:315
671 6 style  Assignment ' inc=-1' is redundant with condition ' inc==-1' . mythplugins/mytharchive/mytharchive/thumbfinder.cpp:717
mythplugins/mytharchive/mytharchive/thumbfinder.cpp:716
672 6 style  Redundant initialization for ' it' . The initialized value is overwritten before it is read. mythplugins/mytharchive/mytharchive/thumbfinder.cpp:627
mythplugins/mytharchive/mytharchive/thumbfinder.cpp:625
673 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:158
674 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:480
675 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:253
676 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:273
677 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:526
678 6 style  Condition ' count< =frameCount' is always true mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1726
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1724
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1696
679 6 style  The scope of the variable ' dbVersion' can be reduced. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:900
680 6 style  Parameter ' sourceDirectory' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:140
681 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:405
682 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:628
683 6 style  Variable ' type' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:328
684 6 style  Variable ' frameFinished' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1648
685 6 style  Condition ' diskcount> 1' is always false mythplugins/mythgame/mythgame/gamehandler.cpp:361
mythplugins/mythgame/mythgame/gamehandler.cpp:360
mythplugins/mythgame/mythgame/gamehandler.cpp:335
686 6 style  The scope of the variable ' key' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:109
687 6 style  The scope of the variable ' diskcount' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:335
688 6 style  The scope of the variable ' rom' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:860
689 6 style  Variable ' info' is assigned a value that is never used. mythplugins/mythgame/mythgame/gamescan.cpp:102
690 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mythgame/mythgame/gamesettings.cpp:418
691 6 style  struct member ' GameTypes::m_nameStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:15
692 6 style  struct member ' GameTypes::m_idStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:16
693 6 style  struct member ' GameTypes::m_extensions' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:17
694 6 style  Expression ' log(1 + x)' can be replaced by ' log1p(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:206
695 6 style  Expression ' exp(x) - 1' can be replaced by ' expm1(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:207
696 6 style  Class ' Spectrogram' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualize.h:224
697 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:135
698 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:394
699 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/cdrip.cpp:1073
700 6 style  Consider using std::transform algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/cdrip.cpp:1287
701 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/decoderhandler.cpp:332
702 6 style  The scope of the variable ' file' can be reduced. mythplugins/mythmusic/mythmusic/editmetadata.cpp:563
703 6 style  The scope of the variable ' file' can be reduced. mythplugins/mythmusic/mythmusic/editmetadata.cpp:631
704 6 style  The scope of the variable ' file' can be reduced. mythplugins/mythmusic/mythmusic/editmetadata.cpp:683
705 6 style  Variable ' strList' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/editmetadata.cpp:1364
706 6 style  Local variable ' stop' shadows outer function mythplugins/mythmusic/mythmusic/mainvisual.cpp:238
mythplugins/mythmusic/mythmusic/mainvisual.h:45
707 6 style  Class ' TrackInfoPopup' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualizerview.h:40
708 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1187
709 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1216
710 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1220
711 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1313
712 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:87
713 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:133
714 6 style  The scope of the variable ' intid' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:162
715 6 style  The scope of the variable ' newname' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:164
716 6 style  The scope of the variable ' fieldName' can be reduced. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:246
717 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:88
718 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:98
719 6 style  struct member ' SmartPLField::m_name' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:34
720 6 style  struct member ' SmartPLOperator::m_stringOnly' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:65
721 6 style  struct member ' SmartPLOperator::m_validForBoolean' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:66
722 6 style  Condition ' node' is always true mythplugins/mythmusic/mythmusic/visualize.cpp:1919
723 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/visualize.cpp:1106
724 6 style  Local variable ' range' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:115
mythplugins/mythmusic/mythmusic/visualize.h:184
725 6 style  Consider using std::fill algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/visualize.cpp:1770
726 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1106
727 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1388
728 6 style  Condition ' !result' is always false mythplugins/mythmusic/mythmusic/vorbisencoder.cpp:78
729 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:459
730 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:485
731 6 style  The scope of the variable ' enclosure_type' can be reduced. mythplugins/mythnews/mythnews/newssite.cpp:341
732 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:181
mythplugins/mythnews/mythnews/newssite.h:87
733 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:327
mythplugins/mythnews/mythnews/newssite.h:90
734 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:335
mythplugins/mythnews/mythnews/newssite.h:87
735 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:472
mythplugins/mythnews/mythnews/newssite.h:90
736 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:480
mythplugins/mythnews/mythnews/newssite.h:87
737 6 style  Parameter ' selection' can be declared as reference to const. However it seems that ' WeatherCallback' is a callback function, if ' selection' is declared with const you might also need to cast function pointer(s). mythplugins/mythweather/mythweather/mythweather.cpp:86
mythplugins/mythweather/mythweather/mythweather.cpp:128
738 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/sourceManager.cpp:148
739 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/weatherSetup.cpp:963
740 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp:96
741 6 style  The scope of the variable ' name' can be reduced. mythplugins/mythzoneminder/mythzoneminder/zmevents.cpp:383

cppcheck version - 2.9
Updated 1 Oct 2023 20:10:08 GMT