There are 754 total results
3 errors, 70 warnings, 40 performance, 9 portability,
0 information, 632 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:650
3 1 error  Non-local variable ' m_mplex' will use pointer to local variable ' mx' . mythtv/programs/mythtranscode/mpeg2fix.cpp:555
mythtv/programs/mythtranscode/mpeg2fix.cpp:529
mythtv/programs/mythtranscode/mpeg2fix.cpp:555
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:333
mythtv/libs/libmythbase/http/mythhttpencoding.cpp:346
8 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:51
mythtv/libs/libmythbase/http/mythhttpranges.cpp:76
9 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:55
mythtv/libs/libmythbase/http/mythhttpranges.cpp:76
10 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:105
mythtv/libs/libmythbase/http/mythhttpranges.cpp:128
11 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:106
mythtv/libs/libmythbase/http/mythhttpranges.cpp:128
12 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:107
mythtv/libs/libmythbase/http/mythhttpranges.cpp:128
13 2 warning  Either the condition ' file' is redundant or there is possible null pointer dereference: file. mythtv/libs/libmythbase/http/mythhttpranges.cpp:108
mythtv/libs/libmythbase/http/mythhttpranges.cpp:128
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  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
16 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
17 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:6386
18 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:6386
19 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:69
20 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:69
21 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:827
22 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:827
23 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:435
24 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:435
25 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:364
26 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:364
27 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:364
28 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:364
29 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:101
30 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:101
31 2 warning  Member variable ' HLSSegment::m_played' is not assigned a value in ' HLSSegment::operator=' . mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:143
32 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
33 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:87
34 2 warning  The class ' MythPlayerUI' defines member variable with name ' m_display' also defined in its parent class ' MythPlayerUIBase' . mythtv/libs/libmythtv/mythplayerui.h:72
mythtv/libs/libmythtv/mythplayeruibase.h:21
35 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
36 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
37 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
38 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
39 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:94
40 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:94
41 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:1366
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1364
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1361
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1358
42 2 warning  %i in format string (no. 1) requires ' int' but the argument type is ' unsigned int' . mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1622
43 2 warning  Missing bounds check for extra iterator increment in loop. mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp:263
mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp:269
44 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
45 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:6060
mythtv/libs/libmythtv/tv_play.cpp:6066
46 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:7489
mythtv/libs/libmythtv/tv_play.cpp:7488
47 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:899
mythtv/libs/libmythui/devices/lirc_client.cpp:897
mythtv/libs/libmythui/devices/lirc_client.cpp:916
48 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:66
49 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:66
50 2 warning  Either the condition ' child' is redundant or there is possible null pointer dereference: child. mythtv/libs/libmythui/mythgenerictree.cpp:133
mythtv/libs/libmythui/mythgenerictree.cpp:135
51 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
52 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
53 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
54 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:2118
mythtv/libs/libmythui/mythuibuttonlist.cpp:2113
55 2 warning  Member variable ' ImageProperties::m_maskImage' is not assigned a value in ' ImageProperties::operator=' . mythtv/libs/libmythui/mythuiimage.cpp:47
56 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
57 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
58 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:30
59 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:30
60 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:6847
mythtv/programs/mythbackend/mainserver.cpp:937
mythtv/programs/mythbackend/mainserver.cpp:934
61 2 warning  Return value of function tr() is not used. mythtv/programs/mythfrontend/playbackbox.cpp:3133
62 2 warning  Member variable ' VideoFilterSettings::m_changedState' is not assigned a value in ' VideoFilterSettings::operator=' . mythtv/programs/mythfrontend/videofilter.cpp:72
63 2 warning  Opposite inner ' if' condition leads to a dead code block. mythplugins/mythmusic/mythmusic/cdrip.cpp:1196
mythplugins/mythmusic/mythmusic/cdrip.cpp:1194
64 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
65 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
66 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
67 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
68 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1515
mythplugins/mythmusic/mythmusic/visualize.cpp:1508
mythplugins/mythmusic/mythmusic/visualize.cpp:1505
69 2 warning  Invalid log10() argument nr 1. The value is 0 but the valid values are ' 4.94066e-324:' . mythplugins/mythmusic/mythmusic/visualize.cpp:1516
mythplugins/mythmusic/mythmusic/visualize.cpp:1508
mythplugins/mythmusic/mythmusic/visualize.cpp:1506
70 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:984
71 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:984
72 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:337
73 2 warning  Return value of function dir.cd() is not used. mythplugins/mythweather/mythweather/weatherSource.cpp:341
74 3 performance  Function parameter ' current_key_path' should be passed by const reference. mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp:124
75 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:146
76 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:147
77 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:148
78 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:149
79 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:150
80 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:151
81 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:152
82 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:153
83 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:172
84 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:191
85 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:193
86 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:194
87 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/dtvconfparser.cpp:213
88 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/eitscanner.cpp:146
89 3 performance  Function parameter ' mode' should be passed by const reference. mythtv/libs/libmythtv/previewgenerator.cpp:75
90 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/recorders/recorderbase.cpp:542
91 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythtv/tv_play.cpp:1640
92 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1693
93 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1722
94 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1779
95 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythmainwindow.cpp:1810
96 3 performance  Function parameter ' state' should be passed by const reference. mythtv/libs/libmythui/mythuibuttonlist.cpp:3679
97 3 performance  Prefer prefix ++/-- operators for non-primitive types. mythtv/libs/libmythui/mythuitype.cpp:255
98 3 performance  Function parameter ' Extension' should be passed by const reference. mythtv/libs/libmythui/opengl/mythegl.cpp:63
99 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:37
100 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:38
101 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:39
102 3 performance  Variable ' m_ttExpires' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:46
103 3 performance  Variable ' m_ttLastNotified' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:47
104 3 performance  Variable ' m_sUUID' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:48
105 3 performance  Variable ' m_ttLastChanged' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/eventing.h:102
106 3 performance  Variable ' m_nInterval' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptaskcache.h:45
107 3 performance  Variable ' m_sUPnpDescPath' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/ssdp.cpp:693
108 3 performance  Function parameter ' value' should be passed by const reference. mythtv/libs/libmythupnp/eventing.h:128
109 3 performance  Variable ' m_nMaxAge' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasknotify.cpp:50
110 3 performance  Variable ' m_nMaxAge' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/libs/libmythupnp/upnptasksearch.cpp:60
111 3 performance  Variable ' m_heartbeat' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythexternrecorder/MythExternControl.cpp:513
112 3 performance  Variable ' m_sortType' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythfrontend/channelrecpriority.cpp:54
113 3 performance  Variable ' m_sortType' is assigned in constructor body. Consider performing initialization in initialization list. mythtv/programs/mythfrontend/programrecpriority.cpp:284
114 4 portability  Casting between unsigned char * and float * which have an incompatible binary data representation. mythtv/libs/libmyth/audio/audiooutputjack.cpp:423
115 4 portability  Casting between const unsigned char * and const float * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
116 4 portability  Casting between const unsigned char * and const double * which have an incompatible binary data representation. mythtv/libs/libmythbase/mythbinaryplist.cpp:96
117 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
118 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
119 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
120 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
121 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:623
122 4 portability  Shifting a negative value is technically undefined behaviour mythtv/programs/mythbackend/httpstatus.cpp:504
123 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputca.cpp:291
124 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
125 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
126 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
127 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmyth/audio/audiooutputca.cpp:1653
128 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputdx.cpp:324
129 6 style  Same expression on both sides of ' /' . mythtv/libs/libmyth/audio/audiooutputjack.cpp:277
130 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:440
131 6 style  Variable ' size' is assigned a value that is never used. mythtv/libs/libmyth/audio/audiooutputopensles.cpp:447
132 6 style  struct member ' featureStruct::name' is never used. mythtv/libs/libmyth/audio/audiooutputsettings.cpp:432
133 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mediamonitor-unix.cpp:265
134 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1205
135 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmyth/mythcontext.cpp:1308
136 6 style  Condition ' !WSAStarted' is always true mythtv/libs/libmyth/mythcontext.cpp:1588
137 6 style  Variable ' startupState' is reassigned a value before the old one has been used. ' break; ' missing? mythtv/libs/libmyth/mythcontext.cpp:998
mythtv/libs/libmyth/mythcontext.cpp:958
138 6 style  Variable ' startupState' is reassigned a value before the old one has been used. mythtv/libs/libmyth/mythcontext.cpp:998
mythtv/libs/libmyth/mythcontext.cpp:976
139 6 style  The scope of the variable ' err' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:822
140 6 style  The scope of the variable ' port' can be reduced. mythtv/libs/libmyth/mythcontext.cpp:828
141 6 style  Variable ' port' is assigned a value that is never used. mythtv/libs/libmyth/mythcontext.cpp:828
142 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
143 6 style  The scope of the variable ' dirname' can be reduced. mythtv/libs/libmyth/storagegroupeditor.cpp:258
144 6 style  Variable ' dirname' is assigned a value that is never used. mythtv/libs/libmyth/storagegroupeditor.cpp:264
145 6 style  The scope of the variable ' sCustomAttr' can be reduced. mythtv/libs/libmythbase/http/mythxsd.cpp:408
146 6 style  Variable ' sContentName' is assigned a value that is never used. mythtv/libs/libmythbase/http/mythxsd.cpp:409
147 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:152
148 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:165
149 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/mythmedia.cpp:171
150 6 style  Assignment ' timeout=0ms' is redundant with condition ' timeout==0ms' . mythtv/libs/libmythbase/mythsystem.cpp:108
mythtv/libs/libmythbase/mythsystem.cpp:107
151 6 style  Parameter ' domElem' can be declared as reference to const mythtv/libs/libmythbase/netgrabbermanager.cpp:83
152 6 style  The scope of the variable ' group' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:2579
153 6 style  The scope of the variable ' usageStr' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3206
154 6 style  The scope of the variable ' recusage' can be reduced. mythtv/libs/libmythbase/programinfo.cpp:3207
155 6 style  Parameter ' frames' can be declared as reference to const mythtv/libs/libmythbase/programinfo.cpp:3548
156 6 style  Variable ' tables' can be declared as const array mythtv/libs/libmythbase/programinfo.cpp:2369
157 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/programinfoupdater.cpp:57
158 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythbase/remoteutil.cpp:334
159 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythbase/rssparse.cpp:369
160 6 style  Condition ' p!=m_valMap.end()' is always true mythtv/libs/libmythmetadata/dbaccess.cpp:415
161 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:143
162 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/dbaccess.cpp:697
163 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:203
164 6 style  Variable ' suffix' is assigned a value that is never used. mythtv/libs/libmythmetadata/dirscan.cpp:208
165 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/imagemanager.cpp:694
166 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/imagescanner.cpp:216
167 6 style  The scope of the variable ' times' can be reduced. mythtv/libs/libmythmetadata/lyricsdata.cpp:269
168 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:100
mythtv/libs/libmythmetadata/lyricsdata.h:74
169 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:101
mythtv/libs/libmythmetadata/lyricsdata.h:68
170 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:102
mythtv/libs/libmythmetadata/lyricsdata.h:71
171 6 style  Local variable ' artist' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:145
mythtv/libs/libmythmetadata/lyricsdata.h:68
172 6 style  Local variable ' album' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:150
mythtv/libs/libmythmetadata/lyricsdata.h:71
173 6 style  Local variable ' title' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:155
mythtv/libs/libmythmetadata/lyricsdata.h:74
174 6 style  Local variable ' syncronized' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:160
mythtv/libs/libmythmetadata/lyricsdata.h:80
175 6 style  Local variable ' grabber' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:165
mythtv/libs/libmythmetadata/lyricsdata.h:65
176 6 style  Local variable ' lyrics' shadows outer function mythtv/libs/libmythmetadata/lyricsdata.cpp:260
mythtv/libs/libmythmetadata/lyricsdata.h:77
177 6 style  The scope of the variable ' mxmlraw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:474
178 6 style  The scope of the variable ' error' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:519
179 6 style  The scope of the variable ' nforaw' can be reduced. mythtv/libs/libmythmetadata/metadatadownload.cpp:523
180 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatadownload.cpp:377
181 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:499
182 6 style  Variable ' rf' is assigned a value that is never used. mythtv/libs/libmythmetadata/metadatadownload.cpp:550
183 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:198
184 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:223
185 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/metadatagrabber.cpp:234
186 6 style  struct member ' GrabberOpts::m_path' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:31
187 6 style  struct member ' GrabberOpts::m_setting' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:32
188 6 style  struct member ' GrabberOpts::m_def' is never used. mythtv/libs/libmythmetadata/metadatagrabber.cpp:33
189 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythmetadata/metaio.cpp:230
190 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:800
191 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythmetadata/musicfilescanner.cpp:859
192 6 style  Checking if unsigned expression ' db_meta-> ID()' is less than zero. mythtv/libs/libmythmetadata/musicfilescanner.cpp:571
193 6 style  Variable ' newparentid' is assigned a value that is never used. mythtv/libs/libmythmetadata/musicfilescanner.cpp:88
194 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythmetadata/musicmetadata.cpp:2065
195 6 style  Parameter ' the_track' can be declared as pointer to const mythtv/libs/libmythmetadata/musicmetadata.cpp:1649
196 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2123
197 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2134
198 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2146
199 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythmetadata/musicmetadata.cpp:2246
200 6 style  Class ' ParentalLevel' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/parentalcontrols.h:17
201 6 style  Class ' meta_data_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:64
202 6 style  Class ' meta_dir_node' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/videometadatalistmanager.h:93
203 6 style  Class ' simple_ref_ptr < VideoMetadata , NoLock > ' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythmetadata/quicksp.h:31
204 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
205 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
206 6 style  Checking if unsigned expression ' m_ref-> dec()' is less than zero. mythtv/libs/libmythmetadata/quicksp.h:142
207 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoscan.cpp:169
208 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythmetadata/videoutils.cpp:103
209 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythprotoserver/requesthandler/deletethread.cpp:46
210 6 style  The scope of the variable ' currentDir' can be reduced. mythtv/libs/libmythprotoserver/requesthandler/fileserverhandler.cpp:506
211 6 style  The scope of the variable ' lang_sub_cnt' can be reduced. mythtv/libs/libmythtv/DVD/mythdvddecoder.cpp:438
212 6 style  The scope of the variable ' fields' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:331
213 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:332
214 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:333
215 6 style  The scope of the variable ' dvdstate' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:334
216 6 style  The scope of the variable ' name' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:381
217 6 style  The scope of the variable ' serialid' can be reduced. mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp:382
218 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:838
219 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/HLS/httplivestream.cpp:951
220 6 style  Variable ' ccp' can be declared as reference to const mythtv/libs/libmythtv/captions/cc608reader.cpp:288
221 6 style  Variable ' chr' can be declared as reference to const mythtv/libs/libmythtv/captions/cc708window.cpp:322
222 6 style  The scope of the variable ' fg_palette' can be reduced. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1553
223 6 style  Variable ' ret' is assigned a value that is never used. mythtv/libs/libmythtv/captions/subtitlescreen.cpp:1878
224 6 style  The scope of the variable ' deviceIsIP' can be reduced. mythtv/libs/libmythtv/cardutil.cpp:3136
225 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:466
226 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/cardutil.cpp:2827
227 6 style  struct member ' fe_caps_name::idx' is never used. mythtv/libs/libmythtv/cardutil.cpp:2479
228 6 style  struct member ' fe_caps_name::name' is never used. mythtv/libs/libmythtv/cardutil.cpp:2480
229 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:2003
230 6 style  Variable ' tt' can be declared as reference to const mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:718
231 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:1839
232 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:720
233 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:1336
234 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp:1842
235 6 style  Variable ' atsc_major' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:127
236 6 style  Variable ' atsc_minor' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/externrecscanner.cpp:128
237 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:339
mythtv/libs/libmythtv/channelscan/hdhrchannelfetcher.cpp:318
238 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:122
mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp:102
239 6 style  Variable ' scan' can be declared as reference to const mythtv/libs/libmythtv/channelscan/scaninfo.cpp:262
240 6 style  Local variable ' frequency' shadows outer function mythtv/libs/libmythtv/channelscan/scanwizardconfig.cpp:31
mythtv/libs/libmythtv/channelscan/panedvbs2.h:35
241 6 style  Condition ' m_stopNow' is always false mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:139
mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:114
242 6 style  Variable ' mplexID' is assigned a value that is never used. mythtv/libs/libmythtv/channelscan/vboxchannelfetcher.cpp:184
243 6 style  Class ' HLSReader' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/HLS/HLSReader.h:43
244 6 style  Parameter ' Context' can be declared as pointer to const mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:218
245 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:2515
246 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/decoders/avformatdecoder.cpp:4227
247 6 style  Variable ' entry' can be declared as reference to const mythtv/libs/libmythtv/decoders/decoderbase.cpp:516
248 6 style  struct member ' V4L2RequestDescriptor::drm' is never used. mythtv/libs/libmythtv/decoders/mythv4l2m2mcontext.cpp:31
249 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:493
250 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:525
251 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:651
252 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:727
253 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:752
254 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:760
255 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:762
256 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:780
257 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:820
258 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1124
259 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1438
260 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1460
261 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1482
262 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:1715
263 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/diseqc.cpp:2198
264 6 style  Variable ' tree' can be declared as reference to const mythtv/libs/libmythtv/diseqc.cpp:287
265 6 style  Variable ' child' can be declared as pointer to const mythtv/libs/libmythtv/diseqc.cpp:1330
266 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:100
267 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:109
268 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/diseqc.cpp:1333
269 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/dtvconfparser.cpp:307
270 6 style  Variable ' event.m_subtitle' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/eitfixup.cpp:1056
mythtv/libs/libmythtv/eitfixup.cpp:1051
271 6 style  struct member ' NLMapResult::name' is never used. mythtv/libs/libmythtv/eitfixup.cpp:1967
272 6 style  struct member ' grCategoryEntry::category' is never used. mythtv/libs/libmythtv/eitfixup.cpp:2861
273 6 style  Unused private function: ' TransportScanItem::GetMultiplexIdFromDB' mythtv/libs/libmythtv/frequencytables.h:176
274 6 style  Class ' transport_scan_items_it_t' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/frequencytables.h:205
275 6 style  Consider using std::transform algorithm instead of a raw loop. mythtv/libs/libmythtv/frequencytables.cpp:257
276 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:154
277 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfifowriter.cpp:275
278 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:225
279 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:243
280 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:518
281 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
282 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
283 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:156
284 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/io/mythfilebuffer.cpp:332
285 6 style  Condition ' available< Count' is always true mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1221
mythtv/libs/libmythtv/io/mythmediabuffer.cpp:1218
286 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/jobqueue.cpp:780
287 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/jobqueue.cpp:1056
288 6 style  Variable ' filesize' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2001
289 6 style  Variable ' path' is assigned a value that is never used. mythtv/libs/libmythtv/jobqueue.cpp:2313
290 6 style  Variable ' block' can be declared as pointer to const mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:70
291 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mheg/dsmccobjcarousel.cpp:71
292 6 style  Condition ' !p' is always false mythtv/libs/libmythtv/mheg/mhegic.cpp:148
293 6 style  Variable ' it' can be declared as reference to const mythtv/libs/libmythtv/mheg/mhi.cpp:149
294 6 style  struct member ' lineSeg::m_yBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1696
295 6 style  struct member ' lineSeg::m_yTop' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1696
296 6 style  struct member ' lineSeg::m_xBottom' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1696
297 6 style  struct member ' lineSeg::m_slope' is never used. mythtv/libs/libmythtv/mheg/mhi.cpp:1696
298 6 style  The scope of the variable ' use_delta_flag' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1057
299 6 style  The scope of the variable ' delta_poc_s0_minus1' can be reduced. mythtv/libs/libmythtv/mpeg/HEVCParser.cpp:1059
300 6 style  struct member ' huffman_table::m_character' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:11
301 6 style  struct member ' huffman_table::m_numberOfBits' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:12
302 6 style  struct member ' huff2_parts::table' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2184
303 6 style  struct member ' huff2_parts::lookup' is never used. mythtv/libs/libmythtv/mpeg/atsc_huffman.cpp:2185
304 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:135
305 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:164
306 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:272
307 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/atsctables.cpp:297
308 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
309 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:424
310 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:427
311 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1628
312 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1653
313 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1680
314 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1720
315 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp:1745
316 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:935
317 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:953
318 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1185
319 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/mpeg/mpegtables.cpp:1204
320 6 style  Virtual function ' HasCRC' is called from constructor ' PESPacket(const char*pesdata)' at line 38. 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:38
321 6 style  Virtual function ' HasCRC' is called from constructor ' PESPacket(const std::vector< uint8_t> & pesdata)' at line 45. 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:45
322 6 style  Local variable ' data' shadows outer function mythtv/libs/libmythtv/mpeg/pespacket.cpp:146
mythtv/libs/libmythtv/mpeg/pespacket.h:169
323 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/dummydecoder.h:21
324 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1132
325 6 style  Condition ' m_decoder' is always true mythtv/libs/libmythtv/mythplayer.cpp:1134
326 6 style  Condition ' length_ms< offset_ms' is always true mythtv/libs/libmythtv/mythplayer.cpp:1784
mythtv/libs/libmythtv/mythplayer.cpp:1780
327 6 style  Condition ' m_ffrewSkip> 0' is always false mythtv/libs/libmythtv/mythplayerui.cpp:208
mythtv/libs/libmythtv/mythplayerui.cpp:204
328 6 style  Condition ' !cudabuffer' is always false mythtv/libs/libmythtv/opengl/mythnvdecinterop.cpp:153
329 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1031
330 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1033
331 6 style  Variable ' texture' can be declared as reference to const mythtv/libs/libmythtv/opengl/mythopenglvideo.cpp:1035
332 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/previewgenerator.cpp:542
333 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:556
334 6 style  Obsolescent function ' utime' called. It is recommended to use ' utimensat' instead. mythtv/libs/libmythtv/previewgenerator.cpp:715
335 6 style  The scope of the variable ' chanid' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1641
336 6 style  The scope of the variable ' starttime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1642
337 6 style  The scope of the variable ' endtime' can be reduced. mythtv/libs/libmythtv/programdata.cpp:1643
338 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:897
339 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1223
340 6 style  Variable ' credit' can be declared as reference to const mythtv/libs/libmythtv/programdata.cpp:1395
341 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:327
342 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:373
343 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:398
344 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/DeviceReadBuffer.cpp:669
345 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/ExternalRecorder.cpp:97
346 6 style  Condition ' !ExternIO::KillIfRunning(full_command)' is always true mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1057
mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1053
347 6 style  The scope of the variable ' result' can be reduced. mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp:1135
348 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp:895
349 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/asirecorder.cpp:145
350 6 style  Condition ' isLocked' is always true mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:117
mythtv/libs/libmythtv/recorders/asisignalmonitor.cpp:104
351 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:152
352 6 style  Variable ' drb' is assigned a value that is never used. mythtv/libs/libmythtv/recorders/asistreamhandler.cpp:165
353 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonrecorder.cpp:99
354 6 style  The scope of the variable ' sig' can be reduced. mythtv/libs/libmythtv/recorders/cetonsignalmonitor.cpp:100
355 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:446
356 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/cetonstreamhandler.cpp:465
357 6 style  Condition ' channel' is always true mythtv/libs/libmythtv/recorders/channelbase.cpp:825
358 6 style  Variable ' device' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/recorders/channelbase.cpp:387
mythtv/libs/libmythtv/recorders/channelbase.cpp:382
359 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/recorders/channelbase.cpp:84
360 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/channelbase.cpp:88
361 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:187
362 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/darwinfirewiredevice.cpp:220
363 6 style  Unused private function: ' DarwinFirewireDevice::RunController' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:69
364 6 style  Unused private function: ' DarwinFirewireDevice::UpdateDeviceListItem' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:71
365 6 style  Unused private function: ' DarwinFirewireDevice::ProcessNoDataMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:72
366 6 style  Unused private function: ' DarwinFirewireDevice::ProcessStreamingMessage' mythtv/libs/libmythtv/recorders/darwinfirewiredevice.h:73
367 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
368 6 style  Condition ' lnb' is always true mythtv/libs/libmythtv/recorders/dvbchannel.cpp:879
369 6 style  The scope of the variable ' can_fec_auto' can be reduced. mythtv/libs/libmythtv/recorders/dvbchannel.cpp:791
370 6 style  Local variable ' NumSlots' shadows outer function mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1615
mythtv/libs/libmythtv/recorders/dvbdev/dvbci.h:147
371 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1664
372 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp:1673
373 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbrecorder.cpp:147
374 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/libs/libmythtv/recorders/dvbsignalmonitor.cpp:163
375 6 style  Variable ' digit' can be declared as const array mythtv/libs/libmythtv/recorders/firewiredevice.cpp:163
376 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:19
377 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:20
378 6 style  Class ' RTPTSDataPacket' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/rtptsdatapacket.h:21
379 6 style  Class ' UDPPacketBuffer' has a constructor with 1 argument that is not explicit. mythtv/libs/libmythtv/recorders/rtp/udppacketbuffer.h:15
380 6 style  Condition ' m_requestRecording' is always false mythtv/libs/libmythtv/recorders/recorderbase.cpp:238
mythtv/libs/libmythtv/recorders/recorderbase.cpp:233
381 6 style  Condition ' m_curRecording' is always true mythtv/libs/libmythtv/recorders/recorderbase.cpp:807
382 6 style  Variable ' adhdr' can be declared as reference to const mythtv/libs/libmythtv/recorders/satiprtsp.cpp:72
383 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
384 6 style  Variable ' entry' can be declared as pointer to const mythtv/libs/libmythtv/recorders/signalmonitor.cpp:388
385 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:390
386 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/recorders/signalmonitor.cpp:404
387 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:253
388 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:329
389 6 style  Variable ' pid' can be declared as reference to const mythtv/libs/libmythtv/recorders/streamhandler.cpp:333
390 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
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:330
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:334
393 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
394 6 style  Condition ' cvtp' is always false mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:108
mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:103
395 6 style  Local variable ' sync' shadows outer function mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:370
mythtv//usr/include/unistd.h:970
396 6 style  Parameter ' handler' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
397 6 style  Parameter ' data' can be declared as pointer to const mythtv/libs/libmythtv/recorders/vbitext/vbi.cpp:471
398 6 style  The scope of the variable ' icon' can be reduced. mythtv/libs/libmythtv/recorders/vboxutils.cpp:335
399 6 style  Variable ' icon' is assigned a value that is never used. 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:340
401 6 style  Variable ' option' can be declared as reference to const mythtv/libs/libmythtv/recordingprofile.cpp:1010
402 6 style  Redundant initialization for ' nType' . The initialized value is overwritten before it is read. mythtv/libs/libmythtv/transporteditor.cpp:112
mythtv/libs/libmythtv/transporteditor.cpp:108
403 6 style  The if condition is the same as the previous if condition mythtv/libs/libmythtv/tv_play.cpp:6830
mythtv/libs/libmythtv/tv_play.cpp:6828
404 6 style  Condition ' !channum.isEmpty()' is always false mythtv/libs/libmythtv/tv_play.cpp:1533
mythtv/libs/libmythtv/tv_play.cpp:1529
405 6 style  Condition ' !handled' is always true mythtv/libs/libmythtv/tv_play.cpp:3470
mythtv/libs/libmythtv/tv_play.cpp:3467
406 6 style  Condition ' track> =start' is always true mythtv/libs/libmythtv/tv_play.cpp:4465
mythtv/libs/libmythtv/tv_play.cpp:4463
mythtv/libs/libmythtv/tv_play.cpp:4455
407 6 style  Condition ' !Chanid' is always true mythtv/libs/libmythtv/tv_play.cpp:6104
mythtv/libs/libmythtv/tv_play.cpp:6076
408 6 style  Operator ' |' with one operand equal to zero is redundant. mythtv/libs/libmythtv/tv_play.cpp:4971
409 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4483
mythtv/libs/libmythtv/tv_play.cpp:4473
410 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4493
mythtv/libs/libmythtv/tv_play.cpp:4483
411 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4503
mythtv/libs/libmythtv/tv_play.cpp:4493
412 6 style  Variable ' subs' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:4513
mythtv/libs/libmythtv/tv_play.cpp:4503
413 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8696
mythtv/libs/libmythtv/tv_play.cpp:8694
414 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8698
mythtv/libs/libmythtv/tv_play.cpp:8696
415 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8700
mythtv/libs/libmythtv/tv_play.cpp:8698
416 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8708
mythtv/libs/libmythtv/tv_play.cpp:8706
417 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8710
mythtv/libs/libmythtv/tv_play.cpp:8708
418 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8712
mythtv/libs/libmythtv/tv_play.cpp:8710
419 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8780
mythtv/libs/libmythtv/tv_play.cpp:8779
420 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8781
mythtv/libs/libmythtv/tv_play.cpp:8780
421 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8782
mythtv/libs/libmythtv/tv_play.cpp:8781
422 6 style  Variable ' result' is reassigned a value before the old one has been used. mythtv/libs/libmythtv/tv_play.cpp:8783
mythtv/libs/libmythtv/tv_play.cpp:8782
423 6 style  The scope of the variable ' tunable_on' can be reduced. mythtv/libs/libmythtv/tv_play.cpp:6058
424 6 style  The scope of the variable ' mark' can be reduced. mythtv/libs/libmythtv/tv_play.cpp:7585
425 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:5517
426 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:6768
427 6 style  Variable ' visualiser' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8649
428 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8869
429 6 style  Variable ' input' can be declared as reference to const mythtv/libs/libmythtv/tv_play.cpp:8892
430 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/libs/libmythtv/tv_play.cpp:6124
431 6 style  struct member ' speed::m_speedX100' is never used. mythtv/libs/libmythtv/tv_play.cpp:8751
432 6 style  struct member ' speed::m_suffix' is never used. mythtv/libs/libmythtv/tv_play.cpp:8752
433 6 style  struct member ' speed::m_trans' is never used. mythtv/libs/libmythtv/tv_play.cpp:8753
434 6 style  Variable ' subs' is assigned a value that is never used. mythtv/libs/libmythtv/tv_play.cpp:4513
435 6 style  The scope of the variable ' conflicting_input' can be reduced. mythtv/libs/libmythtv/tv_rec.cpp:1513
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:557
440 6 style  The comparison ' current != cur' is always false because ' current' and ' cur' represent the same value. mythtv/libs/libmythtv/videosource.cpp:1722
mythtv/libs/libmythtv/videosource.cpp:1698
441 6 style  The scope of the variable ' dn' can be reduced. mythtv/libs/libmythtv/videosource.cpp:2420
442 6 style  Variable ' channel' can be declared as reference to const mythtv/libs/libmythtv/videosource.cpp:3095
443 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/libs/libmythtv/videosource.cpp:1711
444 6 style  Variable ' cn' is assigned a value that is never used. mythtv/libs/libmythtv/videosource.cpp:2426
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:60
mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp:59
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:1599
mythtv/libs/libmythui/devices/lirc_client.cpp:1562
mythtv/libs/libmythui/devices/lirc_client.cpp:1553
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:1070
mythtv/libs/libmythui/devices/lirc_client.cpp:1069
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:147
mythtv/libs/libmythui/mythdialogbox.cpp:141
452 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:469
mythtv/libs/libmythui/mythdialogbox.cpp:464
453 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:475
mythtv/libs/libmythui/mythdialogbox.cpp:462
454 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:477
mythtv/libs/libmythui/mythdialogbox.cpp:462
455 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:480
mythtv/libs/libmythui/mythdialogbox.cpp:461
456 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:637
mythtv/libs/libmythui/mythdialogbox.cpp:631
457 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:643
mythtv/libs/libmythui/mythdialogbox.cpp:629
458 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:645
mythtv/libs/libmythui/mythdialogbox.cpp:628
459 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:652
mythtv/libs/libmythui/mythdialogbox.cpp:627
460 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:706
mythtv/libs/libmythui/mythdialogbox.cpp:700
461 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:712
mythtv/libs/libmythui/mythdialogbox.cpp:698
462 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:714
mythtv/libs/libmythui/mythdialogbox.cpp:697
463 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:717
mythtv/libs/libmythui/mythdialogbox.cpp:696
464 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:797
mythtv/libs/libmythui/mythdialogbox.cpp:789
465 6 style  Condition ' cancelButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:803
mythtv/libs/libmythui/mythdialogbox.cpp:787
466 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:806
mythtv/libs/libmythui/mythdialogbox.cpp:786
467 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythdialogbox.cpp:905
mythtv/libs/libmythui/mythdialogbox.cpp:899
468 6 style  Condition ' messageText' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1014
mythtv/libs/libmythui/mythdialogbox.cpp:896
469 6 style  Condition ' okButton' is always false mythtv/libs/libmythui/mythdialogbox.cpp:1017
mythtv/libs/libmythui/mythdialogbox.cpp:897
470 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:932
471 6 style  The scope of the variable ' selected' can be reduced. mythtv/libs/libmythui/mythdialogbox.cpp:980
472 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:932
473 6 style  Variable ' selected' is assigned a value that is never used. mythtv/libs/libmythui/mythdialogbox.cpp:980
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:1538
mythtv/libs/libmythui/mythmainwindow.h:147
481 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1659
mythtv/libs/libmythui/mythmainwindow.h:147
482 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1913
mythtv/libs/libmythui/mythmainwindow.h:147
483 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:1985
mythtv/libs/libmythui/mythmainwindow.h:147
484 6 style  Local variable ' event' shadows outer function mythtv/libs/libmythui/mythmainwindow.cpp:2071
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:415
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:492
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:323
494 6 style  The scope of the variable ' menuaction' can be reduced. mythtv/libs/libmythui/myththemedmenu.cpp:226
495 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythui/myththemedmenu.cpp:713
496 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuibuttonlist.cpp:3981
mythtv/libs/libmythui/mythuibuttonlist.cpp:3975
497 6 style  The scope of the variable ' found' can be reduced. mythtv/libs/libmythui/mythuibuttonlist.cpp:3208
498 6 style  Local variable ' state' shadows outer function mythtv/libs/libmythui/mythuibuttonlist.cpp:3886
mythtv/libs/libmythui/mythuibuttonlist.h:130
499 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:633
500 6 style  Variable ' last_item' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:749
501 6 style  Variable ' total' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:924
502 6 style  Variable ' x_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1185
503 6 style  Variable ' y_adj' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:1186
504 6 style  Variable ' found' is assigned a value that is never used. mythtv/libs/libmythui/mythuibuttonlist.cpp:3208
505 6 style  Expression is always true because ' else if' condition is opposite to previous condition at line 469. mythtv/libs/libmythui/mythuibuttontree.cpp:484
mythtv/libs/libmythui/mythuibuttontree.cpp:469
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:1005
512 6 style  Condition ' err' is always false mythtv/libs/libmythui/mythuispinbox.cpp:309
mythtv/libs/libmythui/mythuispinbox.cpp:303
513 6 style  The scope of the variable ' end' can be reduced. mythtv/libs/libmythui/mythuitext.cpp:461
514 6 style  Variable ' end' is assigned a value that is never used. mythtv/libs/libmythui/mythuitext.cpp:461
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:1130
mythtv/libs/libmythui/mythuitype.cpp:1131
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:1456
519 6 style  struct member ' MimeType::m_extension' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:47
520 6 style  struct member ' MimeType::m_isVideo' is never used. mythtv/libs/libmythui/mythuiwebbrowser.cpp:48
521 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythui/mythvirtualkeyboard.cpp:440
522 6 style  Variable ' crtc' can be declared as reference to const mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:427
523 6 style  Variable ' crtcs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:227
524 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:228
525 6 style  Variable ' outputs' is not assigned a value. mythtv/libs/libmythui/platforms/mythdisplaymutter.cpp:444
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:57
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:984
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:1630
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:142
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:417
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:371
550 6 style  Variable ' str' is not assigned a value. mythtv/libs/libmythupnp/upnphelpers.cpp:371
551 6 style  The scope of the variable ' timeout' can be reduced. mythtv/libs/libmythupnp/upnpsubscription.cpp:381
552 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:689
553 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/libs/libmythupnp/websocket.cpp:698
554 6 style  Variable ' it' is assigned a value that is never used. mythtv/libs/libmythupnp/websocket.cpp:947
555 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/libs/libmythupnp/xsd.cpp:939
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:119
561 6 style  Variable ' sRep' is reassigned a value before the old one has been used. mythtv/programs/mythbackend/httpstatus.cpp:1296
mythtv/programs/mythbackend/httpstatus.cpp:1295
562 6 style  The scope of the variable ' sMsg' can be reduced. mythtv/programs/mythbackend/httpstatus.cpp:1402
563 6 style  Variable ' hostname' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:455
564 6 style  Variable ' isLocalstr' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:457
565 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1402
566 6 style  Variable ' sMsg' is assigned a value that is never used. mythtv/programs/mythbackend/httpstatus.cpp:1413
567 6 style  Parameter ' chanid' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:2973
568 6 style  Parameter ' slist' can be declared as reference to const mythtv/programs/mythbackend/mainserver.cpp:3720
569 6 style  Consider using std::any_of algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:1745
570 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7976
571 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:7999
572 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8021
573 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8030
574 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8040
575 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8050
576 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8060
577 6 style  Consider using std::copy_if algorithm instead of a raw loop. mythtv/programs/mythbackend/mainserver.cpp:8085
578 6 style  Variable ' masterServerSock' is assigned a value that is never used. mythtv/programs/mythbackend/mainserver.cpp:8246
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:185
581 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythtv/programs/mythbackend/scheduler.cpp:2050
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:1817
586 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4684
587 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4782
588 6 style  Consider using std::copy algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:4902
589 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythbackend/scheduler.cpp:5799
590 6 style  Condition ' i< (commercials-1)' is always true mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1961
mythtv/programs/mythcommflag/ClassicCommDetector.cpp:1949
591 6 style  The scope of the variable ' msg' can be reduced. mythtv/programs/mythcommflag/ClassicCommDetector.cpp:2234
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  The scope of the variable ' s_droppedBytes' can be reduced. mythtv/programs/mythexternrecorder/MythExternControl.cpp:522
596 6 style  The comparison ' API_VERSION == 1' is always true. mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:201
mythtv/programs/mythfilerecorder/mythfilerecorder.cpp:27
597 6 style  Condition ' dbChan.m_name!=(*i).m_name' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:311
mythtv/programs/mythfilldatabase/channeldata.cpp:299
598 6 style  Condition ' dbChan.m_chanNum!=(*i).m_chanNum' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:313
mythtv/programs/mythfilldatabase/channeldata.cpp:301
599 6 style  Condition ' dbChan.m_fineTune!=(*i).m_fineTune' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:314
mythtv/programs/mythfilldatabase/channeldata.cpp:302
600 6 style  Condition ' dbChan.m_freqId!=(*i).m_freqId' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:315
mythtv/programs/mythfilldatabase/channeldata.cpp:303
601 6 style  Condition ' dbChan.m_tvFormat!=(*i).m_tvFormat' is always false mythtv/programs/mythfilldatabase/channeldata.cpp:317
mythtv/programs/mythfilldatabase/channeldata.cpp:304
602 6 style  The scope of the variable ' status' can be reduced. mythtv/programs/mythfilldatabase/filldata.cpp:250
603 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:689
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:665
604 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:691
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:665
605 6 style  Condition ' !m_interrupted' is always true mythtv/programs/mythfrontend/audiogeneralsettings.cpp:748
mythtv/programs/mythfrontend/audiogeneralsettings.cpp:665
606 6 style  Variable ' menuPopup' is assigned a value that is never used. mythtv/programs/mythfrontend/channelrecpriority.cpp:167
607 6 style  The scope of the variable ' filename' can be reduced. mythtv/programs/mythfrontend/example.cpp:117
608 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythfrontend/example.cpp:118
609 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2587
mythtv//usr/include/unistd.h:469
610 6 style  Local variable ' pause' shadows outer function mythtv/programs/mythfrontend/globalsettings.cpp:2601
mythtv//usr/include/unistd.h:469
611 6 style  Parameter ' Value' can be declared as reference to const mythtv/programs/mythfrontend/globalsettings.cpp:1102
612 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythtv/programs/mythfrontend/globalsettings.cpp:1054
613 6 style  Variable ' pi' can be declared as reference to const mythtv/programs/mythfrontend/guidegrid.cpp:1242
614 6 style  Variable ' pHttpServer' is assigned a value that is never used. mythtv/programs/mythfrontend/mediarenderer.cpp:63
615 6 style  The scope of the variable ' reply' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1666
616 6 style  The scope of the variable ' subtitle' can be reduced. mythtv/programs/mythfrontend/networkcontrol.cpp:1783
617 6 style  The scope of the variable ' name' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:2065
618 6 style  The scope of the variable ' command' can be reduced. mythtv/programs/mythfrontend/playbackbox.cpp:3708
619 6 style  The scope of the variable ' adjustmsg' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:167
620 6 style  The scope of the variable ' pname' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:540
621 6 style  The scope of the variable ' character' can be reduced. mythtv/programs/mythfrontend/progdetails.cpp:541
622 6 style  The scope of the variable ' itemText' can be reduced. mythtv/programs/mythfrontend/progfind.cpp:454
623 6 style  The scope of the variable ' keyText' can be reduced. mythtv/programs/mythfrontend/services/frontend.cpp:347
624 6 style  The scope of the variable ' line' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:919
625 6 style  The scope of the variable ' detail' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:920
626 6 style  The scope of the variable ' hostnames' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1382
627 6 style  The scope of the variable ' contentLine' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1586
628 6 style  The scope of the variable ' detailInfo' can be reduced. mythtv/programs/mythfrontend/statusbox.cpp:1587
629 6 style  Variable ' diskinfo' can be declared as reference to const mythtv/programs/mythfrontend/statusbox.cpp:1433
630 6 style  struct member ' info::m_inputid' is never used. mythtv/programs/mythfrontend/statusbox.cpp:756
631 6 style  struct member ' info::m_schedgroup' is never used. mythtv/programs/mythfrontend/statusbox.cpp:757
632 6 style  struct member ' info::m_displayname' is never used. mythtv/programs/mythfrontend/statusbox.cpp:758
633 6 style  struct member ' info::m_errored' is never used. mythtv/programs/mythfrontend/statusbox.cpp:759
634 6 style  struct member ' info::m_unavailable' is never used. mythtv/programs/mythfrontend/statusbox.cpp:760
635 6 style  struct member ' info::m_sleeping' is never used. mythtv/programs/mythfrontend/statusbox.cpp:761
636 6 style  struct member ' info::m_recording' is never used. mythtv/programs/mythfrontend/statusbox.cpp:762
637 6 style  struct member ' info::m_livetv' is never used. mythtv/programs/mythfrontend/statusbox.cpp:763
638 6 style  struct member ' info::m_available' is never used. mythtv/programs/mythfrontend/statusbox.cpp:764
639 6 style  struct member ' info::m_recordings' is never used. mythtv/programs/mythfrontend/statusbox.cpp:765
640 6 style  The scope of the variable ' subversion' can be reduced. mythtv/programs/mythfrontend/themechooser.cpp:207
641 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1114
642 6 style  Variable ' remoteTheme' is assigned a value that is never used. mythtv/programs/mythfrontend/themechooser.cpp:1138
643 6 style  The scope of the variable ' cover_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3656
644 6 style  The scope of the variable ' fanart_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3679
645 6 style  The scope of the variable ' banner_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3695
646 6 style  The scope of the variable ' screenshot_file' can be reduced. mythtv/programs/mythfrontend/videodlg.cpp:3711
647 6 style  Variable ' fa' can be declared as reference to const mythtv/programs/mythfrontend/videofileassoc.cpp:179
648 6 style  The scope of the variable ' ptnm' can be reduced. mythtv/programs/mythfrontend/videolist.cpp:971
649 6 style  Condition ' counter< m_lcdHeight' is always true mythtv/programs/mythlcdserver/lcdprocclient.cpp:1358
mythtv/programs/mythlcdserver/lcdprocclient.cpp:1329
650 6 style  The scope of the variable ' aString' can be reduced. mythtv/programs/mythlcdserver/lcdprocclient.cpp:413
651 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1046
652 6 style  Consider using std::find_if algorithm instead of a raw loop. mythtv/programs/mythtranscode/mpeg2fix.cpp:1673
653 6 style  Parameter ' deleteMap' can be declared as pointer to const mythtv/programs/mythtranscode/mythtranscode.cpp:771
654 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:1298
mythtv/programs/mythtranscode/transcode.cpp:1300
655 6 style  Condition ' !avfw' is always false mythtv/programs/mythtranscode/transcode.cpp:432
656 6 style  Condition ' !hls' is always false mythtv/programs/mythtranscode/transcode.cpp:459
657 6 style  Condition ' m_avfMode' is always true mythtv/programs/mythtranscode/transcode.cpp:1402
mythtv/programs/mythtranscode/transcode.cpp:1388
658 6 style  Variable ' encodingType' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:355
659 6 style  Variable ' audsetting' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:360
660 6 style  Variable ' vidfilters' is assigned a value that is never used. mythtv/programs/mythtranscode/transcode.cpp:361
661 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:593
mythtv/programs/mythtv-setup/channeleditor.h:23
662 6 style  Local variable ' menu' shadows outer function mythtv/programs/mythtv-setup/channeleditor.cpp:772
mythtv/programs/mythtv-setup/channeleditor.h:23
663 6 style  Class ' ExpertSettingsEditor' has a constructor with 1 argument that is not explicit. mythtv/programs/mythtv-setup/expertsettingseditor.h:13
664 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:183
665 6 style  The scope of the variable ' image' can be reduced. mythtv/programs/mythutil/messageutils.cpp:62
666 6 style  The scope of the variable ' origin' can be reduced. mythtv/programs/mythutil/messageutils.cpp:63
667 6 style  The scope of the variable ' description' can be reduced. mythtv/programs/mythutil/messageutils.cpp:64
668 6 style  The scope of the variable ' extra' can be reduced. mythtv/programs/mythutil/messageutils.cpp:65
669 6 style  The scope of the variable ' progress_text' can be reduced. mythtv/programs/mythutil/messageutils.cpp:66
670 6 style  The scope of the variable ' progress' can be reduced. mythtv/programs/mythutil/messageutils.cpp:67
671 6 style  The scope of the variable ' fullscreen' can be reduced. mythtv/programs/mythutil/messageutils.cpp:68
672 6 style  The scope of the variable ' error' can be reduced. mythtv/programs/mythutil/messageutils.cpp:69
673 6 style  The scope of the variable ' visibility' can be reduced. mythtv/programs/mythutil/messageutils.cpp:70
674 6 style  The scope of the variable ' type' can be reduced. mythtv/programs/mythutil/messageutils.cpp:71
675 6 style  Variable ' status' is assigned a value that is never used. mythtv/programs/mythwelcome/welcomedialog.cpp:410
676 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/exportnative.cpp:138
677 6 style  Variable ' searchDialog' is assigned a value that is never used. mythplugins/mytharchive/mytharchive/importnative.cpp:520
678 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:194
679 6 style  Consider using std::accumulate algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:553
680 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/mythburn.cpp:698
681 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mytharchive/mytharchive/recordingselector.cpp:129
682 6 style  Variable ' p' can be declared as pointer to const mythplugins/mytharchive/mytharchive/recordingselector.cpp:201
683 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/recordingselector.cpp:317
684 6 style  Assignment ' inc=-1' is redundant with condition ' inc==-1' . mythplugins/mytharchive/mytharchive/thumbfinder.cpp:727
mythplugins/mytharchive/mytharchive/thumbfinder.cpp:726
685 6 style  Redundant initialization for ' it' . The initialized value is overwritten before it is read. mythplugins/mytharchive/mytharchive/thumbfinder.cpp:636
mythplugins/mytharchive/mytharchive/thumbfinder.cpp:634
686 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:160
687 6 style  Variable ' v' can be declared as pointer to const mythplugins/mytharchive/mytharchive/videoselector.cpp:484
688 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:255
689 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:275
690 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mytharchive/mytharchive/videoselector.cpp:530
691 6 style  Condition ' count< =frameCount' is always true mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1715
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1713
mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1685
692 6 style  The scope of the variable ' dbVersion' can be reduced. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:897
693 6 style  Parameter ' sourceDirectory' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:135
694 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:402
695 6 style  Parameter ' itemNode' can be declared as reference to const mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:625
696 6 style  Variable ' type' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:323
697 6 style  Variable ' frameFinished' is assigned a value that is never used. mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp:1637
698 6 style  Condition ' diskcount> 1' is always false mythplugins/mythgame/mythgame/gamehandler.cpp:360
mythplugins/mythgame/mythgame/gamehandler.cpp:359
mythplugins/mythgame/mythgame/gamehandler.cpp:332
699 6 style  The scope of the variable ' key' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:104
700 6 style  The scope of the variable ' diskcount' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:332
701 6 style  The scope of the variable ' rom' can be reduced. mythplugins/mythgame/mythgame/gamehandler.cpp:869
702 6 style  Variable ' info' is assigned a value that is never used. mythplugins/mythgame/mythgame/gamescan.cpp:102
703 6 style  Consider using std::any_of algorithm instead of a raw loop. mythplugins/mythgame/mythgame/gamesettings.cpp:420
704 6 style  struct member ' GameTypes::m_nameStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:15
705 6 style  struct member ' GameTypes::m_idStr' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:16
706 6 style  struct member ' GameTypes::m_extensions' is never used. mythplugins/mythgame/mythgame/gamesettings.cpp:17
707 6 style  Expression ' log(1 + x)' can be replaced by ' log1p(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:207
708 6 style  Expression ' exp(x) - 1' can be replaced by ' expm1(x)' to avoid loss of precision. mythplugins/mythmusic/mythmusic/visualize.h:208
709 6 style  Class ' Spectrogram' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualize.h:232
710 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:134
711 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/cddecoder.cpp:385
712 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/cdrip.cpp:1074
713 6 style  Consider using std::transform algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/cdrip.cpp:1292
714 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/decoderhandler.cpp:328
715 6 style  Variable ' strList' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/editmetadata.cpp:1359
716 6 style  Local variable ' stop' shadows outer function mythplugins/mythmusic/mythmusic/mainvisual.cpp:241
mythplugins/mythmusic/mythmusic/mainvisual.h:45
717 6 style  Class ' TrackInfoPopup' has a constructor with 1 argument that is not explicit. mythplugins/mythmusic/mythmusic/visualizerview.h:40
718 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1240
719 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1269
720 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1273
721 6 style  Variable ' statusString' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/musiccommon.cpp:1368
722 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:87
723 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythmusic/mythmusic/musicdata.cpp:133
724 6 style  The scope of the variable ' intid' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:156
725 6 style  The scope of the variable ' newname' can be reduced. mythplugins/mythmusic/mythmusic/musicdbcheck.cpp:158
726 6 style  The scope of the variable ' fieldName' can be reduced. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:246
727 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:88
728 6 style  Consider using std::find_if algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:98
729 6 style  struct member ' SmartPLField::m_name' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:34
730 6 style  struct member ' SmartPLOperator::m_stringOnly' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:65
731 6 style  struct member ' SmartPLOperator::m_validForBoolean' is never used. mythplugins/mythmusic/mythmusic/smartplaylist.cpp:66
732 6 style  Condition ' node' is always true mythplugins/mythmusic/mythmusic/visualize.cpp:2009
733 6 style  The scope of the variable ' tmp' can be reduced. mythplugins/mythmusic/mythmusic/visualize.cpp:1197
734 6 style  Checking if unsigned expression ' m_duration' is less than zero. mythplugins/mythmusic/mythmusic/visualize.cpp:660
735 6 style  Local variable ' range' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:116
mythplugins/mythmusic/mythmusic/visualize.h:185
736 6 style  Local variable ' note' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:167
mythplugins/mythmusic/mythmusic/visualize.h:210
737 6 style  Local variable ' freq' shadows outer function mythplugins/mythmusic/mythmusic/visualize.cpp:168
mythplugins/mythmusic/mythmusic/visualize.h:212
738 6 style  Consider using std::fill algorithm instead of a raw loop. mythplugins/mythmusic/mythmusic/visualize.cpp:1862
739 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1197
740 6 style  Variable ' tmp' is assigned a value that is never used. mythplugins/mythmusic/mythmusic/visualize.cpp:1507
741 6 style  Condition ' !result' is always false mythplugins/mythmusic/mythmusic/vorbisencoder.cpp:78
742 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:465
743 6 style  Variable ' article' can be declared as reference to const mythplugins/mythnews/mythnews/mythnews.cpp:491
744 6 style  The scope of the variable ' enclosure_type' can be reduced. mythplugins/mythnews/mythnews/newssite.cpp:337
745 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:177
mythplugins/mythnews/mythnews/newssite.h:83
746 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:323
mythplugins/mythnews/mythnews/newssite.h:86
747 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:331
mythplugins/mythnews/mythnews/newssite.h:83
748 6 style  Local variable ' description' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:468
mythplugins/mythnews/mythnews/newssite.h:86
749 6 style  Local variable ' url' shadows outer function mythplugins/mythnews/mythnews/newssite.cpp:476
mythplugins/mythnews/mythnews/newssite.h:83
750 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
751 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/sourceManager.cpp:148
752 6 style  Variable ' busyPopup' is assigned a value that is never used. mythplugins/mythweather/mythweather/weatherSetup.cpp:967
753 6 style  Obsolescent function ' usleep' called. It is recommended to use ' nanosleep' or ' setitimer' instead. mythplugins/mythzoneminder/mythzoneminder/zmclient.cpp:96
754 6 style  The scope of the variable ' name' can be reduced. mythplugins/mythzoneminder/mythzoneminder/zmevents.cpp:391

cppcheck version - 2.9
Updated 25 Nov 2024 20:09:04 GMT