There are 756 total results
3 errors, 74 warnings, 29 performance, 9 portability,
0 information, 641 style
MythTV

cppcheck Report


Columns are sortable
# Severity Description File
1 1 error  syntax error: 1 = mythtv/libs/libmythtv/eitcache.cpp:123
2 1 error  Uninitialized variable: dummy mythtv/programs/mythexternrecorder/MythExternControl.cpp:639
3 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
4 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
5 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
6 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
7 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpencoding.cpp:327
mythtv/libs/libmythbase/http/mythhttpencoding.cpp:340
8 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
9 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
10 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
11 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
12 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
13 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
14 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
15 2 warning  Unused variable value ' uint' mythtv/libs/libmythbase/mythmedia.cpp:251
16 2 warning  Unused variable value ' uint' mythtv/libs/libmythbase/mythmedia.cpp:523
17 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:15
18 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:15
19 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:6371
20 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:6371
21 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
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 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
31 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
32 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
33 2 warning  Member variable ' HLSSegment::m_played' is not assigned a value in ' HLSSegment::operator=' . mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:142
34 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
35 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
36 2 warning  The class ' VideoOutputD3D' defines member variable with name ' m_render' also defined in its parent class ' MythVideoOutputGPU' . mythtv/libs/libmythtv/videoout_d3d.h:58
mythtv/libs/libmythtv/mythvideooutgpu.h:69
37 2 warning  The class ' VideoOutputD3D' defines member variable with name ' m_video' also defined in its parent class ' MythVideoOutputGPU' . mythtv/libs/libmythtv/videoout_d3d.h:59
mythtv/libs/libmythtv/mythvideooutgpu.h:70
38 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:56
mythtv/libs/libmythtv/recorders/streamhandler.h:112
39 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:61
mythtv/libs/libmythtv/recorders/streamhandler.h:111
40 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
41 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
42 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:1363
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1361
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1358
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1355
43 2 warning  %i in format string (no. 1) requires ' int' but the argument type is ' unsigned int' . mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1620
44 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
45 2 warning  Using member ' m_useGUI' when ' this' might be invalid mythtv/libs/libmythtv/restoredata.cpp:131
mythtv/libs/libmythtv/restoredata.cpp:110
mythtv/libs/libmythtv/restoredata.h:98
46 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:5989
mythtv/libs/libmythtv/tv_play.cpp:5995
47 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:7418
mythtv/libs/libmythtv/tv_play.cpp:7417
48 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
49 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
50 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
51 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
52 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
53 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
54 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
55 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:2089
mythtv/libs/libmythui/mythuibuttonlist.cpp:2084
56 2 warning  Member variable ' ImageProperties::m_maskImage' is not assigned a value in ' ImageProperties::operator=' . mythtv/libs/libmythui/mythuiimage.cpp:47
57 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
58 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
59 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
60 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
61 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:6812
mythtv/programs/mythbackend/mainserver.cpp:929
mythtv/programs/mythbackend/mainserver.cpp:926
62 2 warning  Either the condition ' tokens.size()> 1' is redundant or tokens size can be 2. Expression ' tokens[2]' cause access out of bounds. mythtv/programs/mythexternrecorder/MythExternControl.cpp:287
mythtv/programs/mythexternrecorder/MythExternControl.cpp:285
63 2 warning  Either the condition ' tokens.size()> 1' is redundant or tokens size can be 2. Expression ' tokens[2]' cause access out of bounds. mythtv/programs/mythexternrecorder/MythExternControl.cpp:412
mythtv/programs/mythexternrecorder/MythExternControl.cpp:411
64 2 warning  Member variable ' VideoFilterSettings::m_changedState' is not assigned a value in ' VideoFilterSettings::operator=' . mythtv/programs/mythfrontend/videofilter.cpp:72
65 2 warning  Size of pointer ' buf' used instead of size of its data. mythtv/programs/mythtranscode/mpeg2fix.cpp:52
66 2 warning  Size of pointer ' buf' used instead of size of its data. mythtv/programs/mythtranscode/mpeg2fix.cpp:55
67 2 warning  Opposite inner ' if' condition leads to a dead code block. mythplugins/mythmusic/mythmusic/cdrip.cpp:1193
mythplugins/mythmusic/mythmusic/cdrip.cpp:1191
68 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
69 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
70 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
71 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
72 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1500
mythplugins/mythmusic/mythmusic/visualize.cpp:1493
mythplugins/mythmusic/mythmusic/visualize.cpp:1490
73 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1501
mythplugins/mythmusic/mythmusic/visualize.cpp:1493
mythplugins/mythmusic/mythmusic/visualize.cpp:1491
74 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:985
75 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:985
76 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:337
77 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:341
78 3 performance  Function parameter ' current_key_path' should be passed by const reference. mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:124
79 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/eitscanner.cpp:146
80 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/tv_play.cpp:1638
81 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1694
82 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1723
83 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1780
84 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1811
85 3 performance  Variable ' m_message' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythui/mythuitextedit.cpp:31
86 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythuitype.cpp:252
87 3 performance  Function parameter ' Extension' should be passed by const reference. mythtv/libs/libmythui/opengl/mythegl.cpp:63
88 3 performance  Variable ' m_nWriteSize' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:57
89 3 performance  Variable ' m_nWriteIndex' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/bufferedsocketdevice.cpp:58
90 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:35
91 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:36
92 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:37
93 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:44
94 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:45
95 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:46
96 3 performance  Variable ' m_sName' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:101
97 3 performance  Variable ' m_ttLastChanged' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:102
98 3 performance  Variable ' m_sNamespace' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/serializers/soapSerializer.h:35
99 3 performance  Variable ' m_nInterval' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptaskcache.h:46
100 3 performance  Variable ' m_sUPnpDescPath' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/ssdp.cpp:693
101 3 performance  Function parameter ' value' should be passed by const reference. mythtv/libs/libmythupnp/eventing.h:128
102 3 performance  Function parameter ' value' should be passed by const reference. mythtv/libs/libmythupnp/eventing.h:148
103 3 performance  Variable ' m_nMaxAge' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasknotify.cpp:51
104 3 performance  Variable ' m_peerAddress' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasksearch.cpp:55
105 3 performance  Variable ' m_heartbeat' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythexternrecorder/MythExternControl.cpp:504
106 3 performance  Variable ' m_keyList' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythtranscode/mpeg2fix.cpp:138
107 4 portability  Casting between unsigned char * and float * which have an incompatible binary data representation. mythtv/libs/libmyth/audio/audiooutputjack.cpp:418
108 4 portability  Casting between const unsigned char * and const float * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
109 4 portability  Casting between const unsigned char * and const double * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
110 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
111 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
112 4 portability  Shifting signed 64-bit value by 63 bits is implementation-defined behaviour. See condition at line 468. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:468
mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:468
113 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:488
114 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
115 4 portability  Shifting a negative value is technically undefined behaviour mythtv/programs/mythbackend/httpstatus.cpp:507
116 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputca.cpp:291
117 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
118 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
119 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
120 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmyth/audio/audiooutputca.cpp:1653
121 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputdx.cpp:324
122 6 style  Condition ' m_client' is always true mythtv/libs/libmyth/audio/audiooutputjack.cpp:65
mythtv/libs/libmyth/audio/audiooutputjack.cpp:57
123 6 style  Same expression on both sides of ' /' . mythtv/libs/libmyth/audio/audiooutputjack.cpp:273
124 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:440
125 6 style  Variable ' size' is assigned a value that is never used. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:447
126 6 style  struct member ' featureStruct::flag' is never used. mythtv/libs/libmyth/audio/audiooutputsettings.cpp:432
127 6 style  struct member ' featureStruct::name' is never used. mythtv/libs/libmyth/audio/audiooutputsettings.cpp:433
128 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mediamonitor-unix.cpp:265
129 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1200
130 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1303
131 6 style  Condition ' !WSAStarted' is always true mythtv/libs/libmyth/mythcontext.cpp:1582
132 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
133 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
134 6 style  The scope of the variable ' err' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:818
135 6 style  The scope of the variable ' port' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:824
136 6 style  Variable ' port' is assigned a value that is never used. mythtv/libs/libmyth/mythcontext.cpp:824
137 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
138 6 style  The scope of the variable ' dirname' can be reduced. mythtv/libs/libmyth/storagegroupeditor.cpp:254
139 6 style  Variable ' dirname' is assigned a value that is never used. mythtv/libs/libmyth/storagegroupeditor.cpp:260
140 6 style  The scope of the variable ' sCustomAttr' can be reduced. mythtv/libs/libmythbase/http/mythxsd.cpp:408
141 6 style  Variable ' sContentName' is assigned a value that is never used. mythtv/libs/libmythbase/http/mythxsd.cpp:409
142 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:152
143 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:165
144 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:171
145 6 style  Class ' MythSystemLegacy' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythbase/mythsystemlegacy.h:73
146 6 style  Class ' MythSystemLegacy' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythbase/mythsystemlegacy.h:74
147 6 style  Parameter ' domElem' can be declared as reference to const mythtv/libs/libmythbase/netgrabbermanager.cpp:83
148 6 style  The scope of the variable ' group' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:2574
149 6 style  The scope of the variable ' usageStr' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3201
150 6 style  The scope of the variable ' recusage' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3202
151 6 style  Parameter ' frames' can be declared as reference to const mythtv/libs/libmythbase/programinfo.cpp:3543
152 6 style  Variable ' tables' can be declared as const array mythtv/libs/libmythbase/programinfo.cpp:2364
153 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/programinfoupdater.cpp:55
154 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/remoteutil.cpp:334
155 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythbase/rssparse.cpp:369
156 6 style  Condition ' p!=m_valMap.end()' is always true mythtv/libs/libmythmetadata/dbaccess.cpp:413
157 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:141
158 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:691
159 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:201
160 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:206
161 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/imagemanager.cpp:692
162 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/imagescanner.cpp:216
163 6 style  The scope of the variable ' times' can be reduced. mythtv/libs/libmythmetadata/lyricsdata.cpp:269
164 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:100
mythtv/libs/libmythmetadata/lyricsdata.h:74
165 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:101
mythtv/libs/libmythmetadata/lyricsdata.h:68
166 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:102
mythtv/libs/libmythmetadata/lyricsdata.h:71
167 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:145
mythtv/libs/libmythmetadata/lyricsdata.h:68
168 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:150
mythtv/libs/libmythmetadata/lyricsdata.h:71
169 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:155
mythtv/libs/libmythmetadata/lyricsdata.h:74
170 6 style  Local variable ' syncronized' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:160
mythtv/libs/libmythmetadata/lyricsdata.h:80
171 6 style  Local variable ' grabber' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:165
mythtv/libs/libmythmetadata/lyricsdata.h:65
172 6 style  Local variable ' lyrics' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:260
mythtv/libs/libmythmetadata/lyricsdata.h:77
173 6 style  The scope of the variable ' mxmlraw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:472
174 6 style  The scope of the variable ' error' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:517
175 6 style  The scope of the variable ' nforaw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:521
176 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatadownload.cpp:375
177 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:497
178 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:548
179 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:198
180 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:223
181 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:234
182 6 style  struct member ' GrabberOpts::m_path' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:31
183 6 style  struct member ' GrabberOpts::m_setting' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:32
184 6 style  struct member ' GrabberOpts::m_def' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:33
185 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythmetadata/metaio.cpp:228
186 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:800
187 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:857
188 6 style  Checking if unsigned expression ' db_meta-> ID()' is less than zero. mythtv/libs/libmythmetadata/musicfilescanner.cpp:571
189 6 style  Variable ' newparentid' is assigned a value that is never used. mythtv/libs/libmythmetadata/musicfilescanner.cpp:88
190 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/musicmetadata.cpp:2061
191 6 style  Parameter ' the_track' can be declared as pointer to const mythtv/libs/libmythmetadata/musicmetadata.cpp:1645
192 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2119
193 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2130
194 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2142
195 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2242
196 6 style  Class ' ParentalLevel' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/parentalcontrols.h:16
197 6 style  Class ' meta_data_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:64
198 6 style  Class ' meta_dir_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:93
199 6 style  Class ' simple_ref_ptr < VideoMetadata , NoLock > ' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/quicksp.h:31
200 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
201 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
202 6 style  Checking if unsigned expression ' m_ref-> dec()' is less than zero. mythtv/libs/libmythmetadata/quicksp.h:142
203 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoscan.cpp:169
204 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoutils.cpp:103
205 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythprotoserver/requesthandler/deletethread.cpp:46
206 6 style  The scope of the variable ' currentDir' can be reduced. mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp:502
207 6 style  The scope of the variable ' lang_sub_cnt' can be reduced. mythtv/libs/libmythtv/DVD/mythdvddecoder.cpp:438
208 6 style  The scope of the variable ' fields' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:329
209 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:330
210 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:331
211 6 style  The scope of the variable ' dvdstate' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:332
212 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:377
213 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:378
214 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:834
215 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:947
216 6 style  Condition ' m_interrupted' is always false mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:1137
mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:1127
217 6 style  Variable ' ccp' can be declared as reference to const mythtv/libs/libmythtv/captions/cc608reader.cpp:286
218 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
219 6 style  Variable ' chr' can be declared as reference to const mythtv/libs/libmythtv/captions/cc708window.cpp:322
220 6 style  The scope of the variable ' fg_palette' can be reduced. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1532
221 6 style  Variable ' ret' is assigned a value that is never used. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1857
222 6 style  The scope of the variable ' deviceIsIP' can be reduced. mythtv/libs/libmythtv/cardutil.cpp:3124
223 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:466
224 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:2815
225 6 style  struct member ' fe_caps_name::idx' is never used. mythtv/libs/libmythtv/cardutil.cpp:2477
226 6 style  struct member ' fe_caps_name::name' is never used. mythtv/libs/libmythtv/cardutil.cpp:2478
227 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:2004
228 6 style  Variable ' tt' can be declared as reference to const mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:723
229 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:725
230 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:1339
231 6 style  Variable ' atsc_major' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:127
232 6 style  Variable ' atsc_minor' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:128
233 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:337
mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:316
234 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:122
mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:102
235 6 style  Variable ' scan' can be declared as reference to const mythtv/libs/libmythtv/channelscan/scaninfo.cpp:260
236 6 style  Local variable ' frequency' shadows outer function mythtv/libs/libmythtv/channelscan/scanwizardconfig.cpp:31
mythtv/libs/libmythtv/channelscan/panedvbs2.h:35
237 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:139
mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:114
238 6 style  Variable ' mplexID' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:184
239 6 style  Parameter ' Context' can be declared as pointer to const mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:218
240 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:2515
241 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:4223
242 6 style  Variable ' entry' can be declared as reference to const mythtv/libs/libmythtv/decoders/decoderbase.cpp:516
243 6 style  struct member ' V4L2RequestDescriptor::drm' is never used. mythtv/libs/libmythtv/decoders/mythv4l2m2mcontext.cpp:31
244 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:493
245 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:525
246 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:651
247 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:727
248 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:752
249 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:760
250 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:762
251 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:780
252 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:817
253 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1121
254 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1435
255 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1457
256 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1479
257 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1710
258 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:2193
259 6 style  Variable ' tree' can be declared as reference to const mythtv/libs/libmythtv/diseqc.cpp:287
260 6 style  Variable ' child' can be declared as pointer to const mythtv/libs/libmythtv/diseqc.cpp:1327
261 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:100
262 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:109
263 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:1330
264 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/dtvconfparser.cpp:298
265 6 style  Variable ' event.m_subtitle' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/eitfixup.cpp:1052
mythtv/libs/libmythtv/eitfixup.cpp:1047
266 6 style  struct member ' NLMapResult::name' is never used. mythtv/libs/libmythtv/eitfixup.cpp:1963
267 6 style  struct member ' grCategoryEntry::category' is never used. mythtv/libs/libmythtv/eitfixup.cpp:2857
268 6 style  Unused private function: ' TransportScanItem::GetMultiplexIdFromDB' mythtv/libs/libmythtv/frequencytables.h:170
269 6 style  Class ' transport_scan_items_it_t' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/frequencytables.h:199
270 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/frequencytables.cpp:257
271 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:154
272 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:275
273 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:225
274 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:243
275 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:518
276 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
277 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
278 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:156
279 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:332
280 6 style  Condition ' available< Count' is always true mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1216
mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1213
281 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/jobqueue.cpp:779
282 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/jobqueue.cpp:1055
283 6 style  Variable ' filesize' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2000
284 6 style  Variable ' path' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2312
285 6 style  Variable ' block' can be declared as pointer to const mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:71
286 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:72
287 6 style  Condition ' !p' is always false mythtv/libs/libmythtv/mheg/mhegic.cpp:148
288 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/mheg/mhi.cpp:149
289 6 style  struct member ' lineSeg::m_yBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1694
290 6 style  struct member ' lineSeg::m_yTop' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1694
291 6 style  struct member ' lineSeg::m_xBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1694
292 6 style  struct member ' lineSeg::m_slope' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1694
293 6 style  The scope of the variable ' use_delta_flag' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1057
294 6 style  The scope of the variable ' delta_poc_s0_minus1' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1059
295 6 style  Unsigned expression ' type' can' t be negative so it is unnecessary to test it. mythtv/libs/libmythtv/mpeg/HEVCParser.h:240
296 6 style  struct member ' huffman_table::m_character' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:11
297 6 style  struct member ' huffman_table::m_numberOfBits' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:12
298 6 style  struct member ' huff2_parts::table' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2184
299 6 style  struct member ' huff2_parts::lookup' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2185
300 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:135
301 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:164
302 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:272
303 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:297
304 6 style  Same expression used in consecutive assignments of ' tid' and ' bid' . mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp:943
mythtv/libs/libmythtv/mpeg/dvbstreamdata.cpp:944
305 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:424
306 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:427
307 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1629
308 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1654
309 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1681
310 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1721
311 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1746
312 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:935
313 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:953
314 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1185
315 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1204
316 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
317 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
318 6 style  Local variable ' data' shadows outer function mythtv/libs/libmythtv/mpeg/pespacket.cpp:146
mythtv/libs/libmythtv/mpeg/pespacket.h:169
319 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/dummydecoder.h:21
320 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1132
321 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1134
322 6 style  Condition ' length_ms< offset_ms' is always true mythtv/libs/libmythtv/mythplayer.cpp:1785
mythtv/libs/libmythtv/mythplayer.cpp:1781
323 6 style  Condition ' m_ffrewSkip> 0' is always false mythtv/libs/libmythtv/mythplayerui.cpp:206
mythtv/libs/libmythtv/mythplayerui.cpp:202
324 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
325 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
326 6 style  Condition ' !cudabuffer' is always false mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp:153
327 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1020
328 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1022
329 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1024
330 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/previewgenerator.cpp:542
331 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:556
332 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:715
333 6 style  The scope of the variable ' chanid' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1641
334 6 style  The scope of the variable ' starttime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1642
335 6 style  The scope of the variable ' endtime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1643
336 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:897
337 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1223
338 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1395
339 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:327
340 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:373
341 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:398
342 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:669
343 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp:97
344 6 style  Condition ' !ExternIO::KillIfRunning(full_command)' is always true mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1042
mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1038
345 6 style  The scope of the variable ' result' can be reduced. mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1119
346 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp:866
347 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/asirecorder.cpp:145
348 6 style  Condition ' isLocked' is always true mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:117
mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:104
349 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:152
350 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:165
351 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonrecorder.cpp:99
352 6 style  The scope of the variable ' sig' can be reduced. mythtv/libs/libmythtv/recorders/cetonsignalmonitor.cpp:100
353 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:442
354 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:461
355 6 style  Condition ' channel' is always true mythtv/libs/libmythtv/recorders/channelbase.cpp:817
356 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
357 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/recorders/channelbase.cpp:84
358 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/channelbase.cpp:88
359 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:187
360 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:220
361 6 style  Unused private function: ' DarwinFirewireDevice::RunController' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:69
362 6 style  Unused private function: ' DarwinFirewireDevice::UpdateDeviceListItem' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:71
363 6 style  Unused private function: ' DarwinFirewireDevice::ProcessNoDataMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:72
364 6 style  Unused private function: ' DarwinFirewireDevice::ProcessStreamingMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:73
365 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
366 6 style  Condition ' lnb' is always true mythtv/libs/libmythtv/recorders/dvbchannel.cpp:878
367 6 style  The scope of the variable ' can_fec_auto' can be reduced. mythtv/libs/libmythtv/recorders/dvbchannel.cpp:790
368 6 style  Local variable ' NumSlots' shadows outer function mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1613
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.h:147
369 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1658
370 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1667
371 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbrecorder.cpp:147
372 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbsignalmonitor.cpp:163
373 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:195
374 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:241
375 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/recorders/firewiredevice.cpp:262
376 6 style  Variable ' digit' can be declared as const array mythtv/libs/libmythtv/recorders/firewiredevice.cpp:163
377 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:19
378 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:20
379 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:21
380 6 style  Class ' UDPPacketBuffer' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/udppacketbuffer.h:15
381 6 style  Condition ' m_requestRecording' is always false mythtv/libs/libmythtv/recorders/recorderbase.cpp:232
mythtv/libs/libmythtv/recorders/recorderbase.cpp:227
382 6 style  Condition ' m_curRecording' is always true mythtv/libs/libmythtv/recorders/recorderbase.cpp:797
383 6 style  Variable ' adhdr' can be declared as reference to const mythtv/libs/libmythtv/recorders/satiprtsp.cpp:72
384 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
385 6 style  Variable ' entry' can be declared as pointer to const mythtv/libs/libmythtv/recorders/signalmonitor.cpp:388
386 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:390
387 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:404
388 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:253
389 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:329
390 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:333
391 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
392 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
393 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
394 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
395 6 style  Condition ' cvtp' is always false mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:107
mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:102
396 6 style  Local variable ' sync' shadows outer function mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:369
mythtv//usr/include/unistd.h:970
397 6 style  Parameter ' handler' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
398 6 style  Parameter ' data' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
399 6 style  The scope of the variable ' icon' can be reduced. mythtv/libs/libmythtv/recorders/vboxutils.cpp:335
400 6 style  Variable ' icon' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/vboxutils.cpp:335
401 6 style  Variable ' icon' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/vboxutils.cpp:340
402 6 style  Variable ' option' can be declared as reference to const mythtv/libs/libmythtv/recordingprofile.cpp:1003
403 6 style  The if condition is the same as the previous if condition mythtv/libs/libmythtv/tv_play.cpp:6759
mythtv/libs/libmythtv/tv_play.cpp:6757
404 6 style  Condition ' !channum.isEmpty()' is always false mythtv/libs/libmythtv/tv_play.cpp:1531
mythtv/libs/libmythtv/tv_play.cpp:1527
405 6 style  Condition ' !handled' is always true mythtv/libs/libmythtv/tv_play.cpp:3460
mythtv/libs/libmythtv/tv_play.cpp:3457
406 6 style  Condition ' track> =start' is always true mythtv/libs/libmythtv/tv_play.cpp:4399
mythtv/libs/libmythtv/tv_play.cpp:4397
mythtv/libs/libmythtv/tv_play.cpp:4389
407 6 style  Condition ' !Chanid' is always true mythtv/libs/libmythtv/tv_play.cpp:6033
mythtv/libs/libmythtv/tv_play.cpp:6005
408 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/tv_play.cpp:4905
409 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4417
mythtv/libs/libmythtv/tv_play.cpp:4407
410 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4427
mythtv/libs/libmythtv/tv_play.cpp:4417
411 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4437
mythtv/libs/libmythtv/tv_play.cpp:4427
412 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4447
mythtv/libs/libmythtv/tv_play.cpp:4437
413 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8548
mythtv/libs/libmythtv/tv_play.cpp:8546
414 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8550
mythtv/libs/libmythtv/tv_play.cpp:8548
415 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8552
mythtv/libs/libmythtv/tv_play.cpp:8550
416 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8560
mythtv/libs/libmythtv/tv_play.cpp:8558
417 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8562
mythtv/libs/libmythtv/tv_play.cpp:8560
418 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8564
mythtv/libs/libmythtv/tv_play.cpp:8562
419 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8632
mythtv/libs/libmythtv/tv_play.cpp:8631
420 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8633
mythtv/libs/libmythtv/tv_play.cpp:8632
421 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8634
mythtv/libs/libmythtv/tv_play.cpp:8633
422 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8635
mythtv/libs/libmythtv/tv_play.cpp:8634
423 6 style  The scope of the variable ' tunable_on' can be reduced. mythtv/libs/libmythtv/tv_play.cpp:5987
424 6 style  The scope of the variable ' mark' can be reduced. mythtv/libs/libmythtv/tv_play.cpp:7514
425 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:5450
426 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:6697
427 6 style  Variable ' visualiser' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8504
428 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8721
429 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8744
430 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/tv_play.cpp:6053
431 6 style  struct member ' speed::m_speedX100' is never used. mythtv/libs/libmythtv/tv_play.cpp:8603
432 6 style  struct member ' speed::m_suffix' is never used. mythtv/libs/libmythtv/tv_play.cpp:8604
433 6 style  struct member ' speed::m_trans' is never used. mythtv/libs/libmythtv/tv_play.cpp:8605
434 6 style  Variable ' subs' is assigned a value that is never used. mythtv/libs/libmythtv/tv_play.cpp:4447
435 6 style  The scope of the variable ' conflicting_input' can be reduced. mythtv/libs/libmythtv/tv_rec.cpp:1498
436 6 style  Variable ' discard' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:508
437 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:532
438 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/videobuffers.cpp:819
439 6 style  The scope of the variable ' origPath' can be reduced. mythtv/libs/libmythtv/videodbcheck.cpp:555
440 6 style  The comparison ' current != cur' is always false because ' current' and ' cur' represent the same value. mythtv/libs/libmythtv/videosource.cpp:1723
mythtv/libs/libmythtv/videosource.cpp:1699
441 6 style  The scope of the variable ' dn' can be reduced. mythtv/libs/libmythtv/videosource.cpp:2417
442 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/videosource.cpp:3088
443 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/videosource.cpp:1712
444 6 style  Variable ' cn' is assigned a value that is never used. mythtv/libs/libmythtv/videosource.cpp:2423
445 6 style  Variable ' vbo' can be declared as reference to const mythtv/libs/libmythtv/visualisations/opengl/mythvisualmonoscopeopengl.cpp:23
446 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
447 6 style  Variable ' vertex' can be declared as reference to const mythtv/libs/libmythtv/visualisations/vulkan/mythvisualmonoscopevulkan.cpp:345
448 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
449 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
450 6 style  Class ' MythMenuItem' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythdialogbox.h:70
451 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:145
mythtv/libs/libmythui/mythdialogbox.cpp:139
452 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:465
mythtv/libs/libmythui/mythdialogbox.cpp:460
453 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:471
mythtv/libs/libmythui/mythdialogbox.cpp:458
454 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:473
mythtv/libs/libmythui/mythdialogbox.cpp:458
455 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:476
mythtv/libs/libmythui/mythdialogbox.cpp:457
456 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:633
mythtv/libs/libmythui/mythdialogbox.cpp:627
457 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:639
mythtv/libs/libmythui/mythdialogbox.cpp:625
458 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:641
mythtv/libs/libmythui/mythdialogbox.cpp:624
459 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:648
mythtv/libs/libmythui/mythdialogbox.cpp:623
460 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:702
mythtv/libs/libmythui/mythdialogbox.cpp:696
461 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:708
mythtv/libs/libmythui/mythdialogbox.cpp:694
462 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:710
mythtv/libs/libmythui/mythdialogbox.cpp:693
463 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:713
mythtv/libs/libmythui/mythdialogbox.cpp:692
464 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:793
mythtv/libs/libmythui/mythdialogbox.cpp:785
465 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:799
mythtv/libs/libmythui/mythdialogbox.cpp:783
466 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:802
mythtv/libs/libmythui/mythdialogbox.cpp:782
467 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:901
mythtv/libs/libmythui/mythdialogbox.cpp:895
468 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1010
mythtv/libs/libmythui/mythdialogbox.cpp:892
469 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1013
mythtv/libs/libmythui/mythdialogbox.cpp:893
470 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:928
471 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:976
472 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:928
473 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:976
474 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythdisplay.cpp:356
475 6 style  Consider using std::replace_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythedid.cpp:137
476 6 style  Local variable ' face' shadows outer function mythtv/libs/libmythui/mythfontproperties.cpp:231
mythtv/libs/libmythui/mythfontproperties.h:25
477 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
478 6 style  Unused private function: ' MythGesture::HasMinimumPoints' mythtv/libs/libmythui/mythgesture.h:115
479 6 style  Condition ' !result' is always true mythtv/libs/libmythui/mythhdr.cpp:42
mythtv/libs/libmythui/mythhdr.cpp:32
480 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1539
mythtv/libs/libmythui/mythmainwindow.h:147
481 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1660
mythtv/libs/libmythui/mythmainwindow.h:147
482 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1914
mythtv/libs/libmythui/mythmainwindow.h:147
483 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1986
mythtv/libs/libmythui/mythmainwindow.h:147
484 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:2072
mythtv/libs/libmythui/mythmainwindow.h:147
485 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythmainwindow.cpp:416
486 6 style  Class ' MythNotification' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythnotification.h:40
487 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
488 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythui/mythpainter.cpp:495
489 6 style  Class ' MythD3DSurface' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythui/mythrender_d3d9.h:82
490 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythpainterwindow.cpp:126
491 6 style  Variable ' screensaver' can be declared as pointer to const mythtv/libs/libmythui/mythscreensaver.cpp:69
492 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythscreensaver.cpp:80
493 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/mythscreenstack.cpp:321
494 6 style  The scope of the variable ' menuaction' can be reduced. mythtv/libs/libmythui/myththemedmenu.cpp:224
495 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/myththemedmenu.cpp:709
496 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuibuttonlist.cpp:3918
mythtv/libs/libmythui/mythuibuttonlist.cpp:3912
497 6 style  The scope of the variable ' found' can be reduced. mythtv/libs/libmythui/mythuibuttonlist.cpp:3157
498 6 style  Local variable ' state' shadows outer function mythtv/libs/libmythui/mythuibuttonlist.cpp:3825
mythtv/libs/libmythui/mythuibuttonlist.h:130
499 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:624
500 6 style  Variable ' last_item' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:736
501 6 style  Variable ' total' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:909
502 6 style  Variable ' x_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1166
503 6 style  Variable ' y_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1167
504 6 style  Variable ' found' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:3157
505 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
506 6 style  Local variable ' isDir' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:68
mythtv/libs/libmythui/mythuifilebrowser.h:39
507 6 style  Local variable ' size' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:69
mythtv/libs/libmythui/mythuifilebrowser.h:44
508 6 style  Local variable ' isDir' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:79
mythtv/libs/libmythui/mythuifilebrowser.h:39
509 6 style  Local variable ' size' shadows outer function mythtv/libs/libmythui/mythuifilebrowser.cpp:80
mythtv/libs/libmythui/mythuifilebrowser.h:44
510 6 style  Parameter ' cbs' can be declared as reference to const mythtv/libs/libmythui/mythuihelper.cpp:76
511 6 style  The scope of the variable ' imagelabel' can be reduced. mythtv/libs/libmythui/mythuiimage.cpp:1000
512 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuispinbox.cpp:310
mythtv/libs/libmythui/mythuispinbox.cpp:304
513 6 style  The scope of the variable ' end' can be reduced. mythtv/libs/libmythui/mythuitext.cpp:478
514 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuitext.cpp:478
515 6 style  The scope of the variable ' dirName' can be reduced. mythtv/libs/libmythui/mythuithemehelper.cpp:161
516 6 style  The statement ' if (m_enabled!=enable) m_enabled=enable' is logically equivalent to ' m_enabled=enable' . mythtv/libs/libmythui/mythuitype.cpp:1135
mythtv/libs/libmythui/mythuitype.cpp:1136
517 6 style  Condition ' m_image' is always true mythtv/libs/libmythui/mythuivideo.cpp:87
518 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:1460
519 6 style  struct member ' MimeType::m_extension' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:46
520 6 style  struct member ' MimeType::m_isVideo' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:47
521 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythvirtualkeyboard.cpp:425
522 6 style  Variable ' crtc' can be declared as reference to const mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:415
523 6 style  Variable ' crtcs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:215
524 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:216
525 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:432
526 6 style  Condition ' !dbuserr.isEmpty()' is always false mythtv/libs/libmythui/platforms/mythscreensaverdbus.cpp:155
527 6 style  Condition ' m_xscreensaverRunning' is always true mythtv/libs/libmythui/platforms/mythscreensaverx11.cpp:37
mythtv/libs/libmythui/platforms/mythscreensaverx11.cpp:32
528 6 style  Condition ' (++m_nKey)==0' is always false mythtv/libs/libmythupnp/eventing.h:56
529 6 style  Variable ' cspNonce' is assigned a value that is never used. mythtv/libs/libmythupnp/htmlserver.cpp:121
530 6 style  The scope of the variable ' bRange' can be reduced. mythtv/libs/libmythupnp/httprequest.cpp:483
531 6 style  The scope of the variable ' ext' can be reduced. mythtv/libs/libmythupnp/httprequest.cpp:980
532 6 style  Variable ' llEnd' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:458
533 6 style  Variable ' bRange' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:483
534 6 style  Variable ' sService' is assigned a value that is never used. mythtv/libs/libmythupnp/httprequest.cpp:1620
535 6 style  Local variable ' address' shadows outer function mythtv/libs/libmythupnp/mmulticastsocketdevice.cpp:99
mythtv/libs/libmythupnp/mmulticastsocketdevice.h:62
536 6 style  The scope of the variable ' bInCode' can be reduced. mythtv/libs/libmythupnp/serverSideScripting.cpp:449
537 6 style  The scope of the variable ' nEndPos' can be reduced. mythtv/libs/libmythupnp/serverSideScripting.cpp:575
538 6 style  The scope of the variable ' nMatchPos' can be reduced. mythtv/libs/libmythupnp/serverSideScripting.cpp:576
539 6 style  Variable ' nEndPos' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:575
540 6 style  Variable ' nMatchPos' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:576
541 6 style  Variable ' bMatchFound' is assigned a value that is never used. mythtv/libs/libmythupnp/serverSideScripting.cpp:577
542 6 style  Variable ' ex' can be declared as reference to const mythtv/libs/libmythupnp/servicehost.cpp:162
543 6 style  The scope of the variable ' sValue' can be reduced. mythtv/libs/libmythupnp/soapclient.cpp:149
544 6 style  Variable ' socket' can be declared as reference to const mythtv/libs/libmythupnp/ssdp.cpp:133
545 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythupnp/taskqueue.cpp:141
546 6 style  Parameter ' sIPAddrList' can be declared as reference to const mythtv/libs/libmythupnp/upnp.cpp:90
547 6 style  The scope of the variable ' filterName' can be reduced. mythtv/libs/libmythupnp/upnpcdsobjects.cpp:415
548 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythupnp/upnpdevice.cpp:793
549 6 style  The scope of the variable ' str' can be reduced. mythtv/libs/libmythupnp/upnphelpers.cpp:369
550 6 style  Variable ' str' is not assigned a value. mythtv/libs/libmythupnp/upnphelpers.cpp:369
551 6 style  The scope of the variable ' timeout' can be reduced. mythtv/libs/libmythupnp/upnpsubscription.cpp:378
552 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:687
553 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:696
554 6 style  Variable ' it' is assigned a value that is never used. mythtv/libs/libmythupnp/websocket.cpp:945
555 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythupnp/xsd.cpp:937
556 6 style  Variable ' sContentName' is assigned a value that is never used. mythtv/libs/libmythupnp/xsd.cpp:394
557 6 style  The scope of the variable ' msg' can be reduced. mythtv/programs/mythbackend/autoexpire.cpp:619
558 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/programs/mythbackend/autoexpire.cpp:872
559 6 style  The scope of the variable ' subversion' can be reduced. mythtv/programs/mythbackend/backendhousekeeper.cpp:353
560 6 style  Variable ' tables' can be declared as const array mythtv/programs/mythbackend/backendhousekeeper.cpp:118
561 6 style  Variable ' sRep' is reassigned a value before the old one has been used. mythtv/programs/mythbackend/httpstatus.cpp:1295
mythtv/programs/mythbackend/httpstatus.cpp:1294
562 6 style  The scope of the variable ' sMsg' can be reduced. mythtv/programs/mythbackend/httpstatus.cpp:1401
563 6 style  Variable ' hostname' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:458
564 6 style  Variable ' isLocalstr' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:460
565 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1401
566 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1412
567 6 style  Parameter ' chanid' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:2956
568 6 style  Parameter ' slist' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:3699
569 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:1733
570 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7939
571 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7962
572 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7984
573 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7993
574 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8003
575 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8013
576 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8023
577 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8048
578 6 style  Variable ' masterServerSock' is assigned a value that is never used. mythtv/programs/mythbackend/mainserver.cpp:8209
579 6 style  Variable ' pHttpServer' is assigned a value that is never used. mythtv/programs/mythbackend/mediaserver.cpp:85
580 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/programs/mythbackend/mythbackend.cpp:179
581 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/programs/mythbackend/scheduler.cpp:2046
582 6 style  Condition ' m_doRun' is always true mythtv/programs/mythbackend/scheduler.cpp:95
mythtv/programs/mythbackend/scheduler.cpp:89
583 6 style  Variable ' p' can be declared as reference to const mythtv/programs/mythbackend/scheduler.cpp:799
584 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:583
585 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:1813
586 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4670
587 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4768
588 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4888
589 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:5777
590 6 style  Condition ' i< (commercials-1)' is always true mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1969
mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1957
591 6 style  The scope of the variable ' msg' can be reduced. mythtv/programs/mythcommflag/ClassicCommDetector.cpp:2243
592 6 style  Condition ' histogramAnalyzer' is always true mythtv/programs/mythcommflag/CommDetector2.cpp:361
593 6 style  Variable ' pas' can be declared as pointer to const mythtv/programs/mythcommflag/CommDetector2.cpp:172
594 6 style  Expression is always true because ' else if' condition is opposite to previous condition at line 630. mythtv/programs/mythcommflag/mythcommflag.cpp:670
mythtv/programs/mythcommflag/mythcommflag.cpp:630
595 6 style  Condition ' tokens.size()> 1' is always true mythtv/programs/mythexternrecorder/MythExternControl.cpp:285
mythtv/programs/mythexternrecorder/MythExternControl.cpp:268
596 6 style  Condition ' tokens.size()> 1' is always true mythtv/programs/mythexternrecorder/MythExternControl.cpp:411
mythtv/programs/mythexternrecorder/MythExternControl.cpp:268
597 6 style  The scope of the variable ' s_droppedBytes' can be reduced. mythtv/programs/mythexternrecorder/MythExternControl.cpp:513
598 6 style  The comparison ' API_VERSION == 1' is always true. mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:199
mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:26
599 6 style  Condition ' dbChan.m_name!=(*i).m_name' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:311
mythtv/programs/mythfilldatabase/channeldata.cpp:299
600 6 style  Condition ' dbChan.m_chanNum!=(*i).m_chanNum' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:313
mythtv/programs/mythfilldatabase/channeldata.cpp:301
601 6 style  Condition ' dbChan.m_fineTune!=(*i).m_fineTune' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:314
mythtv/programs/mythfilldatabase/channeldata.cpp:302
602 6 style  Condition ' dbChan.m_freqId!=(*i).m_freqId' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:315
mythtv/programs/mythfilldatabase/channeldata.cpp:303
603 6 style  Condition ' dbChan.m_tvFormat!=(*i).m_tvFormat' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:317
mythtv/programs/mythfilldatabase/channeldata.cpp:304
604 6 style  The scope of the variable ' status' can be reduced. mythtv/programs/mythfilldatabase/filldata.cpp:249
605 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:690
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
606 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:692
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
607 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:749
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:666
608 6 style  Variable ' menuPopup' is assigned a value that is never used. mythtv/programs/mythfrontend/channelrecpriority.cpp:165
609 6 style  The scope of the variable ' filename' can be reduced. mythtv/programs/mythfrontend/example.cpp:117
610 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythfrontend/example.cpp:118
611 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2581
mythtv//usr/include/unistd.h:469
612 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2595
mythtv//usr/include/unistd.h:469
613 6 style  Parameter ' Value' can be declared as reference to const mythtv/programs/mythfrontend/globalsettings.cpp:1100
614 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythfrontend/globalsettings.cpp:1052
615 6 style  Variable ' pi' can be declared as reference to const mythtv/programs/mythfrontend/guidegrid.cpp:1203
616 6 style  Variable ' pHttpServer' is assigned a value that is never used. mythtv/programs/mythfrontend/mediarenderer.cpp:63
617 6 style  The scope of the variable ' reply' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1644
618 6 style  The scope of the variable ' subtitle' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1761
619 6 style  The scope of the variable ' name' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:2062
620 6 style  The scope of the variable ' command' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:3697
621 6 style  The scope of the variable ' adjustmsg' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:165
622 6 style  The scope of the variable ' pname' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:532
623 6 style  The scope of the variable ' character' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:533
624 6 style  The scope of the variable ' itemText' can be reduced. mythtv/programs/mythfrontend/progfind.cpp:450
625 6 style  The scope of the variable ' keyText' can be reduced. mythtv/programs/mythfrontend/services/frontend.cpp:347
626 6 style  The scope of the variable ' line' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:909
627 6 style  The scope of the variable ' detail' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:910
628 6 style  The scope of the variable ' hostnames' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1370
629 6 style  The scope of the variable ' contentLine' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1574
630 6 style  The scope of the variable ' detailInfo' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1575
631 6 style  Variable ' diskinfo' can be declared as reference to const mythtv/programs/mythfrontend/statusbox.cpp:1421
632 6 style  struct member ' info::m_inputid' is never used. mythtv/programs/mythfrontend/statusbox.cpp:752
633 6 style  struct member ' info::m_schedgroup' is never used. mythtv/programs/mythfrontend/statusbox.cpp:753
634 6 style  struct member ' info::m_displayname' is never used. mythtv/programs/mythfrontend/statusbox.cpp:754
635 6 style  struct member ' info::m_errored' is never used. mythtv/programs/mythfrontend/statusbox.cpp:755
636 6 style  struct member ' info::m_unavailable' is never used. mythtv/programs/mythfrontend/statusbox.cpp:756
637 6 style  struct member ' info::m_sleeping' is never used. mythtv/programs/mythfrontend/statusbox.cpp:757
638 6 style  struct member ' info::m_recording' is never used. mythtv/programs/mythfrontend/statusbox.cpp:758
639 6 style  struct member ' info::m_livetv' is never used. mythtv/programs/mythfrontend/statusbox.cpp:759
640 6 style  struct member ' info::m_available' is never used. mythtv/programs/mythfrontend/statusbox.cpp:760
641 6 style  struct member ' info::m_recordings' is never used. mythtv/programs/mythfrontend/statusbox.cpp:761
642 6 style  The scope of the variable ' subversion' can be reduced. mythtv/programs/mythfrontend/themechooser.cpp:207
643 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1108
644 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1132
645 6 style  The scope of the variable ' cover_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3614
646 6 style  The scope of the variable ' fanart_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3637
647 6 style  The scope of the variable ' banner_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3653
648 6 style  The scope of the variable ' screenshot_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3669
649 6 style  Variable ' fa' can be declared as reference to const mythtv/programs/mythfrontend/videofileassoc.cpp:179
650 6 style  The scope of the variable ' ptnm' can be reduced. mythtv/programs/mythfrontend/videolist.cpp:968
651 6 style  Condition ' counter< m_lcdHeight' is always true mythtv/programs/mythlcdserver/lcdprocclient.cpp:1357
mythtv/programs/mythlcdserver/lcdprocclient.cpp:1328
652 6 style  The scope of the variable ' aString' can be reduced. mythtv/programs/mythlcdserver/lcdprocclient.cpp:412
653 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1054
654 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1679
655 6 style  Parameter ' deleteMap' can be declared as pointer to const mythtv/programs/mythtranscode/mythtranscode.cpp:771
656 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:1296
mythtv/programs/mythtranscode/transcode.cpp:1298
657 6 style  Condition ' !avfw' is always false mythtv/programs/mythtranscode/transcode.cpp:432
658 6 style  Condition ' !hls' is always false mythtv/programs/mythtranscode/transcode.cpp:459
659 6 style  Condition ' m_avfMode' is always true mythtv/programs/mythtranscode/transcode.cpp:1400
mythtv/programs/mythtranscode/transcode.cpp:1386
660 6 style  Variable ' encodingType' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:355
661 6 style  Variable ' audsetting' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:360
662 6 style  Variable ' vidfilters' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:361
663 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:582
mythtv/programs/mythtv-setup/channeleditor.h:23
664 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:755
mythtv/programs/mythtv-setup/channeleditor.h:23
665 6 style  Class ' ExpertSettingsEditor' has a constructor with 1 argument that is not explicit. mythtv/programs/mythtv-setup/expertsettingseditor.h:13
666 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
667 6 style  The scope of the variable ' image' can be reduced. mythtv/programs/mythutil/messageutils.cpp:62
668 6 style  The scope of the variable ' origin' can be reduced. mythtv/programs/mythutil/messageutils.cpp:63
669 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythutil/messageutils.cpp:64
670 6 style  The scope of the variable ' extra' can be reduced. mythtv/programs/mythutil/messageutils.cpp:65
671 6 style  The scope of the variable ' progress_text' can be reduced. mythtv/programs/mythutil/messageutils.cpp:66
672 6 style  The scope of the variable ' progress' can be reduced. mythtv/programs/mythutil/messageutils.cpp:67
673 6 style  The scope of the variable ' fullscreen' can be reduced. mythtv/programs/mythutil/messageutils.cpp:68
674 6 style  The scope of the variable ' error' can be reduced. mythtv/programs/mythutil/messageutils.cpp:69
675 6 style  The scope of the variable ' visibility' can be reduced. mythtv/programs/mythutil/messageutils.cpp:70
676 6 style  The scope of the variable ' type' can be reduced. mythtv/programs/mythutil/messageutils.cpp:71
677 6 style  Variable ' status' is assigned a value that is never used. mythtv/programs/mythwelcome/welcomedialog.cpp:404
678 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/exportnative.cpp:136
679 6 style  Variable ' searchDialog' is assigned a value that is never used. mythplugins/mytharchive/mytharchive/importnative.cpp:515
680 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:192
681 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:549
682 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:694
683 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mytharchive/mytharchive/recordingselector.cpp:129
684 6 style  Variable ' p' can be declared as pointer to const mythplugins/mytharchive/mytharchive/recordingselector.cpp:199
685 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/recordingselector.cpp:315
686 6 style  Assignment ' inc=-1' is redundant with condition ' inc==-1' . mythplugins/mytharchive/mytharchive/thumbfinder.cpp:717
mythplugins/mytharchive/mytharchive/thumbfinder.cpp:716
687 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
688 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:158
689 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:480
690 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:253
691 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:273
692 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:526
693 6 style  Condition ' count< =frameCount' is always true mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1711
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1709
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1681
694 6 style  The scope of the variable ' dbVersion' can be reduced. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:895
695 6 style  Parameter ' sourceDirectory' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:135
696 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:400
697 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:623
698 6 style  Variable ' type' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:323
699 6 style  Variable ' frameFinished' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1633
700 6 style  Condition ' diskcount> 1' is always false mythplugins/mythgame/mythgame/gamehandler.cpp:356
mythplugins/mythgame/mythgame/gamehandler.cpp:355
mythplugins/mythgame/mythgame/gamehandler.cpp:330
701 6 style  The scope of the variable ' key' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:104
702 6 style  The scope of the variable ' diskcount' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:330
703 6 style  The scope of the variable ' rom' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:859
704 6 style  Variable ' info' is assigned a value that is never used. mythplugins/mythgame/mythgame/gamescan.cpp:102
705 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mythgame/mythgame/gamesettings.cpp:418
706 6 style  struct member ' GameTypes::m_nameStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:15
707 6 style  struct member ' GameTypes::m_idStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:16
708 6 style  struct member ' GameTypes::m_extensions' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:17
709 6 style  Expression ' log(1 + x)' can be replaced by ' log1p(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:205
710 6 style  Expression ' exp(x) - 1' can be replaced by ' expm1(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:206
711 6 style  Class ' Spectrogram' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualize.h:230
712 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:134
713 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:385
714 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/cdrip.cpp:1073
715 6 style  Consider using std::transform algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/cdrip.cpp:1287
716 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/decoderhandler.cpp:328
717 6 style  Variable ' strList' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/editmetadata.cpp:1351
718 6 style  Local variable ' stop' shadows outer function mythplugins/mythmusic/mythmusic/mainvisual.cpp:238
mythplugins/mythmusic/mythmusic/mainvisual.h:45
719 6 style  Class ' TrackInfoPopup' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualizerview.h:40
720 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1190
721 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1219
722 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1223
723 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1316
724 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:87
725 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:133
726 6 style  The scope of the variable ' intid' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:162
727 6 style  The scope of the variable ' newname' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:164
728 6 style  The scope of the variable ' fieldName' can be reduced. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:246
729 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:88
730 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:98
731 6 style  struct member ' SmartPLField::m_name' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:34
732 6 style  struct member ' SmartPLOperator::m_stringOnly' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:65
733 6 style  struct member ' SmartPLOperator::m_validForBoolean' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:66
734 6 style  Condition ' node' is always true mythplugins/mythmusic/mythmusic/visualize.cpp:2023
735 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/visualize.cpp:1185
736 6 style  Checking if unsigned expression ' m_duration' is less than zero. mythplugins/mythmusic/mythmusic/visualize.cpp:661
737 6 style  Local variable ' range' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:115
mythplugins/mythmusic/mythmusic/visualize.h:183
738 6 style  Local variable ' note' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:168
mythplugins/mythmusic/mythmusic/visualize.h:208
739 6 style  Local variable ' freq' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:169
mythplugins/mythmusic/mythmusic/visualize.h:210
740 6 style  Consider using std::fill algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/visualize.cpp:1874
741 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1185
742 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1492
743 6 style  Condition ' !result' is always false mythplugins/mythmusic/mythmusic/vorbisencoder.cpp:78
744 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:459
745 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:485
746 6 style  The scope of the variable ' enclosure_type' can be reduced. mythplugins/mythnews/mythnews/newssite.cpp:337
747 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:177
mythplugins/mythnews/mythnews/newssite.h:83
748 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:323
mythplugins/mythnews/mythnews/newssite.h:86
749 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:331
mythplugins/mythnews/mythnews/newssite.h:83
750 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:468
mythplugins/mythnews/mythnews/newssite.h:86
751 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:476
mythplugins/mythnews/mythnews/newssite.h:83
752 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
753 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/sourceManager.cpp:148
754 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/weatherSetup.cpp:963
755 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp:96
756 6 style  The scope of the variable ' name' can be reduced. mythplugins/mythzoneminder/mythzoneminder/zmevents.cpp:383

cppcheck version - 2.9
Updated 15 Apr 2024 14:12:23 GMT