Ticket #12996: v2-0001-Simple-unused-parameter-fixes.patch

File v2-0001-Simple-unused-parameter-fixes.patch, 55.9 KB (added by David Hampton <mythtv@…>, 3 years ago)

Fix unused parameters in trivial functions.

  • mythtv/libs/libmyth/audio/audiooutputbase.h

    Simple unused parameter fixes.
    
    Fix unused parameter warnings to trivial functions. Most of these are
    null functions or functions that return a constant. One or two are
    trivial code. Most of these are also appear to be virtual functions
    that will be overwritten by child classes.
    ---
     mythtv/libs/libmyth/audio/audiooutputbase.h        |  4 +--
     mythtv/libs/libmythbase/housekeeper.h              |  2 +-
     mythtv/libs/libmythbase/mythtimezone.cpp           |  2 +-
     mythtv/libs/libmythfreemheg/ParseText.cpp          |  3 ++-
     mythtv/libs/libmythfreemheg/Root.h                 |  2 +-
     mythtv/libs/libmythfreemheg/Text.h                 |  2 +-
     mythtv/libs/libmythfreemheg/Visible.h              |  8 +++---
     .../libs/libmythprotoserver/socketrequesthandler.h | 14 +++++-----
     mythtv/libs/libmythtv/Bluray/mythbdplayer.h        | 12 ++++-----
     mythtv/libs/libmythtv/avformatdecoder.h            |  2 +-
     mythtv/libs/libmythtv/avformatwriter.cpp           |  4 +--
     mythtv/libs/libmythtv/decoderbase.h                | 14 +++++-----
     mythtv/libs/libmythtv/diseqc.cpp                   |  4 +--
     mythtv/libs/libmythtv/filewriterbase.cpp           |  4 +--
     mythtv/libs/libmythtv/filewriterbase.h             |  4 +--
     mythtv/libs/libmythtv/mhi.cpp                      |  6 ++---
     mythtv/libs/libmythtv/mpeg/atsctables.h            |  4 +--
     mythtv/libs/libmythtv/mpeg/mpegtables.cpp          |  2 +-
     mythtv/libs/libmythtv/mpeg/sctetables.cpp          |  2 +-
     mythtv/libs/libmythtv/mpeg/sctetables.h            |  4 +--
     mythtv/libs/libmythtv/mythplayer.h                 | 20 +++++++--------
     .../libmythtv/recorders/ExternalStreamHandler.cpp  |  4 +--
     mythtv/libs/libmythtv/recorders/channelbase.h      |  4 +--
     mythtv/libs/libmythtv/recorders/dtvchannel.cpp     |  2 +-
     mythtv/libs/libmythtv/recorders/dtvchannel.h       |  6 ++---
     mythtv/libs/libmythtv/recorders/dummychannel.h     |  2 +-
     mythtv/libs/libmythtv/recorders/mpegrecorder.h     |  4 +--
     mythtv/libs/libmythtv/recorders/streamhandler.h    |  4 +--
     mythtv/libs/libmythtv/recorders/v4lrecorder.h      |  4 +--
     mythtv/libs/libmythtv/ringbuffer.h                 |  4 +--
     mythtv/libs/libmythtv/v4l2util.cpp                 |  2 +-
     mythtv/libs/libmythtv/videoout_null.h              |  4 +--
     mythtv/libs/libmythtv/videoout_nullvaapi.h         | 30 +++++++++++-----------
     mythtv/libs/libmythtv/videoout_nullvdpau.cpp       |  2 +-
     mythtv/libs/libmythtv/videoout_nullvdpau.h         | 30 +++++++++++-----------
     mythtv/libs/libmythtv/videoout_openglvaapi.cpp     |  2 +-
     mythtv/libs/libmythtv/videoout_vdpau.cpp           |  2 +-
     mythtv/libs/libmythtv/videooutbase.h               |  9 +++----
     mythtv/libs/libmythtv/videosource.h                |  2 +-
     .../visualisations/videovisualspectrum.cpp         |  2 +-
     mythtv/libs/libmythtv/vsync.h                      |  2 +-
     mythtv/libs/libmythui/mythpainter.cpp              |  2 +-
     mythtv/libs/libmythui/mythpainter_qimage.h         |  2 +-
     mythtv/libs/libmythui/mythrender_opengl.h          |  2 +-
     mythtv/libs/libmythui/mythrender_opengl1.h         |  6 ++---
     mythtv/libs/libmythui/mythrender_vdpau.cpp         |  2 +-
     mythtv/libs/libmythupnp/serializers/serializer.h   |  2 +-
     mythtv/libs/libmythupnp/upnpcds.cpp                | 12 ++++-----
     mythtv/libs/libmythupnp/websocket.cpp              |  3 +--
     mythtv/libs/libmythupnp/websocket.h                |  4 +--
     mythtv/programs/mythbackend/services/capture.h     |  2 +-
     mythtv/programs/mythbackend/services/channel.h     |  2 +-
     mythtv/programs/mythbackend/services/content.h     |  2 +-
     mythtv/programs/mythbackend/services/dvr.h         |  2 +-
     mythtv/programs/mythbackend/services/guide.h       |  2 +-
     mythtv/programs/mythbackend/services/image.h       |  2 +-
     mythtv/programs/mythbackend/services/video.h       |  2 +-
     .../programs/mythtranscode/audioreencodebuffer.h   |  2 +-
     mythtv/programs/mythutil/mpegutils.cpp             |  6 ++---
     59 files changed, 148 insertions(+), 149 deletions(-)
    
    diff --git a/mythtv/libs/libmyth/audio/audiooutputbase.h b/mythtv/libs/libmyth/audio/audiooutputbase.h
    index e7fc7e4..b63f7c0 100644
    a b class AudioOutputBase : public AudioOutput, public MThread 
    7676    virtual bool IsUpmixing(void);
    7777    virtual bool ToggleUpmix(void);
    7878    virtual bool CanUpmix(void);
    79     virtual bool CanProcess(AudioFormat fmt) { return true; }
     79    virtual bool CanProcess(AudioFormat /*fmt*/) { return true; }
    8080    virtual uint32_t CanProcess(void)
    8181    {
    8282        // we support all codec
    class AudioOutputBase : public AudioOutput, public MThread 
    136136     */
    137137    virtual int  GetBufferedOnSoundcard(void) const = 0;
    138138    // Default implementation only supports 2ch s16le at 48kHz
    139     virtual AudioOutputSettings* GetOutputSettings(bool digital)
     139    virtual AudioOutputSettings* GetOutputSettings(bool /*digital*/)
    140140        { return new AudioOutputSettings; }
    141141    // You need to call this from any implementation in the dtor.
    142142    void KillAudio(void);
  • mythtv/libs/libmythbase/housekeeper.h

    diff --git a/mythtv/libs/libmythbase/housekeeper.h b/mythtv/libs/libmythbase/housekeeper.h
    index e3c6bf7..cf4ad40 100644
    a b class MBASE_PUBLIC HouseKeeperTask : public ReferenceCounter 
    6262    virtual QDateTime UpdateLastRun(QDateTime last, bool successful=true);
    6363    virtual void    SetLastRun(QDateTime last, bool successful=true);
    6464
    65     virtual bool    DoCheckRun(QDateTime now)       { return false;         }
     65    virtual bool    DoCheckRun(QDateTime /*now*/)   { return false;         }
    6666    virtual bool    DoRun(void)                     { return false;         }
    6767
    6868    virtual void    Terminate(void)                 {}
  • mythtv/libs/libmythbase/mythtimezone.cpp

    diff --git a/mythtv/libs/libmythbase/mythtimezone.cpp b/mythtv/libs/libmythbase/mythtimezone.cpp
    index 6a081a4..c780a84 100644
    a b bool checkTimeZone(void) 
    313313
    314314/// This overloaded version allows for the use of an existing (not managed by
    315315/// MythContext) connection to the backend.
    316 bool checkTimeZone(const QStringList &master_settings)
     316bool checkTimeZone(const QStringList &/*master_settings*/)
    317317{
    318318    return true;
    319319}
  • mythtv/libs/libmythfreemheg/ParseText.cpp

    diff --git a/mythtv/libs/libmythfreemheg/ParseText.cpp b/mythtv/libs/libmythfreemheg/ParseText.cpp
    index ecd7801..b2ab209 100644
    a b MHParseText::MHParseText(QByteArray &program) 
    4747                m_ch(0),            m_nTag(0),
    4848                m_nInt(0),          m_fBool(false),
    4949                m_String((unsigned char *)malloc(100)),
    50                 m_nStringLength(0), m_p(0)
     50                m_nStringLength(0), m_p(0),
     51                m_data(program)
    5152
    5253{
    5354}
  • mythtv/libs/libmythfreemheg/Root.h

    diff --git a/mythtv/libs/libmythfreemheg/Root.h b/mythtv/libs/libmythfreemheg/Root.h
    index 44fb3f1..d2f8217 100644
    a b class MHRoot 
    183183    // Actions on Interactibles.
    184184    virtual void SetInteractionStatus(bool /*newStatus*/, MHEngine *) { InvalidAction("SetInteractionStatus"); }
    185185    virtual bool GetInteractionStatus(void) { InvalidAction("GetInteractionStatus"); return false; }
    186     virtual void SetHighlightStatus(bool /*newStatus*/, MHEngine *engine) { InvalidAction("SetHighlightStatus"); }
     186    virtual void SetHighlightStatus(bool /*newStatus*/, MHEngine */*engine*/) { InvalidAction("SetHighlightStatus"); }
    187187    virtual bool GetHighlightStatus(void) { InvalidAction("GetHighlightStatus"); return false; }
    188188
    189189    // Actions on Sliders.
  • mythtv/libs/libmythfreemheg/Text.h

    diff --git a/mythtv/libs/libmythfreemheg/Text.h b/mythtv/libs/libmythfreemheg/Text.h
    index e2ba9d6..143b28c 100644
    a b class MHHyperText : public MHText, public MHInteractible 
    106106    virtual void SetHighlightStatus(bool newStatus, MHEngine *engine)
    107107    { InteractSetHighlightStatus(newStatus, engine); }
    108108    virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); }
    109     virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); }
     109    virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); }
    110110};
    111111
    112112// Get Text Data - get the data out of a text object.
  • mythtv/libs/libmythfreemheg/Visible.h

    diff --git a/mythtv/libs/libmythfreemheg/Visible.h b/mythtv/libs/libmythfreemheg/Visible.h
    index 0ebd23e..c6127f0 100644
    a b class MHSlider : public MHVisible, public MHInteractible 
    183183    virtual void SetHighlightStatus(bool newStatus, MHEngine *engine)
    184184    { InteractSetHighlightStatus(newStatus, engine); }
    185185    virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); }
    186     virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); }
     186    virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); }
    187187
    188188    // Actions
    189189    virtual void Step(int nbSteps, MHEngine *engine);
    class MHEntryField : public MHVisible, public MHInteractible 
    236236    virtual void SetHighlightStatus(bool newStatus, MHEngine *engine)
    237237    { InteractSetHighlightStatus(newStatus, engine); }
    238238    virtual bool GetHighlightStatus(void) { return InteractGetHighlightStatus(); }
    239     virtual void Deactivation(MHEngine *engine) { InteractDeactivation(); }
     239    virtual void Deactivation(MHEngine */*engine*/) { InteractDeactivation(); }
    240240};
    241241
    242242// Button - not needed for UK MHEG.
    class MHSetInteractionStatus: public MHActionBool 
    399399{
    400400  public:
    401401    MHSetInteractionStatus(): MHActionBool("SetInteractionStatus") {}
    402     virtual void CallAction(MHEngine *engine, MHRoot *pTarget, bool newStatus)
     402    virtual void CallAction(MHEngine *engine, MHRoot */*pTarget*/, bool newStatus)
    403403    { Target(engine)->SetInteractionStatus(newStatus, engine); }
    404404};
    405405
    class MHSetHighlightStatus: public MHActionBool 
    415415{
    416416  public:
    417417    MHSetHighlightStatus(): MHActionBool("SetHighlightStatus") {}
    418     virtual void CallAction(MHEngine *engine, MHRoot *pTarget, bool newStatus)
     418    virtual void CallAction(MHEngine *engine, MHRoot */*pTarget*/, bool newStatus)
    419419    { Target(engine)->SetHighlightStatus(newStatus, engine); }
    420420};
    421421
  • mythtv/libs/libmythprotoserver/socketrequesthandler.h

    diff --git a/mythtv/libs/libmythprotoserver/socketrequesthandler.h b/mythtv/libs/libmythprotoserver/socketrequesthandler.h
    index e1e990d..f838640 100644
    a b class PROTOSERVER_PUBLIC SocketRequestHandler : public QObject 
    1616    SocketRequestHandler() : m_parent(NULL) {};
    1717   ~SocketRequestHandler() {};
    1818
    19     virtual bool HandleAnnounce(MythSocket *socket, QStringList &commands,
    20                                 QStringList &slist)
     19    virtual bool HandleAnnounce(MythSocket */*socket*/, QStringList &/*commands*/,
     20                                QStringList &/*slist*/)
    2121                    { return false; }
    22     virtual bool HandleQuery(SocketHandler *socket, QStringList &commands,
    23                                 QStringList &slist)
     22    virtual bool HandleQuery(SocketHandler */*socket*/, QStringList &/*commands*/,
     23                             QStringList &/*slist*/)
    2424                    { return false; }
    2525    virtual QString GetHandlerName(void)                { return "BASE"; }
    26     virtual void connectionAnnounced(MythSocket *socket, QStringList &commands,
    27                                   QStringList &slist)   { (void)socket; }
    28     virtual void connectionClosed(MythSocket *socket)   { (void)socket; }
     26    virtual void connectionAnnounced(MythSocket */*socket*/, QStringList &/*commands*/,
     27                                     QStringList &/*slist*/)   { }
     28    virtual void connectionClosed(MythSocket */*socket*/)   { }
    2929    virtual void SetParent(MythSocketManager *parent)   { m_parent = parent; }
    3030    MythSocketManager *GetParent(void)                  { return m_parent; }
    3131
  • mythtv/libs/libmythtv/Bluray/mythbdplayer.h

    diff --git a/mythtv/libs/libmythtv/Bluray/mythbdplayer.h b/mythtv/libs/libmythtv/Bluray/mythbdplayer.h
    index 45242cf..e5be634 100644
    a b class MythBDPlayer : public MythPlayer 
    3838
    3939    // Non-const gets
    4040    // Disable screen grabs for Bluray
    41     virtual char *GetScreenGrabAtFrame(uint64_t frameNum, bool absolute,
    42         int &buflen, int &vw, int &vh, float &ar) { return NULL; }
    43     virtual char *GetScreenGrab(int secondsin, int &buflen,
    44         int &vw, int &vh, float &ar) { return NULL; }
     41    virtual char *GetScreenGrabAtFrame(uint64_t /*frameNum*/, bool /*absolute*/,
     42        int &/*buflen*/, int &/*vw*/, int &/*vh*/, float &/*ar*/) { return NULL; }
     43    virtual char *GetScreenGrab(int /*secondsin*/, int &/*buflen*/,
     44        int &/*vw*/, int &/*vh*/, float &/*ar*/) { return NULL; }
    4545
    4646  protected:
    4747    // Playback
    class MythBDPlayer : public MythPlayer 
    5959
    6060    // Non-const gets
    6161    // Disable screen grabs for Bluray
    62     virtual void SeekForScreenGrab(uint64_t &number, uint64_t frameNum,
    63                                    bool absolute) { return; }
     62    virtual void SeekForScreenGrab(uint64_t &/*number*/, uint64_t /*frameNum*/,
     63                                   bool /*absolute*/) { return; }
    6464
    6565  private:
    6666    void    DisplayMenu(void);
  • mythtv/libs/libmythtv/avformatdecoder.h

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.h b/mythtv/libs/libmythtv/avformatdecoder.h
    index ae3df77..be3c917 100644
    a b class AvFormatDecoder : public DecoderBase 
    264264    virtual void DoFastForwardSeek(long long desiredFrame, bool &needflush);
    265265    virtual void StreamChangeCheck(void) { }
    266266    virtual void PostProcessTracks(void) { }
    267     virtual bool IsValidStream(int streamid) {return true;}
     267    virtual bool IsValidStream(int /*streamid*/) {return true;}
    268268
    269269    int DecodeAudio(AVCodecContext *ctx, uint8_t *buffer, int &data_size,
    270270                    AVPacket *pkt);
  • mythtv/libs/libmythtv/avformatwriter.cpp

    diff --git a/mythtv/libs/libmythtv/avformatwriter.cpp b/mythtv/libs/libmythtv/avformatwriter.cpp
    index d12cf41..feef32c 100644
    a b int AVFormatWriter::WriteAudioFrame(unsigned char *buf, int fnum, long long &tim 
    417417    return 1;
    418418}
    419419
    420 int AVFormatWriter::WriteTextFrame(int vbimode, unsigned char *buf, int len,
    421                                    long long timecode, int pagenr)
     420int AVFormatWriter::WriteTextFrame(int /*vbimode*/, unsigned char */*buf*/, int /*len*/,
     421                                   long long /*timecode*/, int /*pagenr*/)
    422422{
    423423    return 1;
    424424}
  • mythtv/libs/libmythtv/decoderbase.h

    diff --git a/mythtv/libs/libmythtv/decoderbase.h b/mythtv/libs/libmythtv/decoderbase.h
    index 9b8051f..6781548 100644
    a b class DecoderBase 
    159159    MythPlayer *GetPlayer() { return m_parent; }
    160160
    161161    virtual int GetNumChapters(void)                      { return 0; }
    162     virtual int GetCurrentChapter(long long framesPlayed) { return 0; }
    163     virtual void GetChapterTimes(QList<long long> &times) { return;   }
    164     virtual long long GetChapter(int chapter)             { return framesPlayed; }
     162    virtual int GetCurrentChapter(long long /*framesPlayed*/) { return 0; }
     163    virtual void GetChapterTimes(QList<long long> &/*times*/) { return;   }
     164    virtual long long GetChapter(int /*chapter*/)             { return framesPlayed; }
    165165    virtual bool DoRewind(long long desiredFrame, bool doflush = true);
    166166    virtual bool DoFastForward(long long desiredFrame, bool doflush = true);
    167     virtual void SetIdrOnlyKeyframes(bool value) { }
     167    virtual void SetIdrOnlyKeyframes(bool /*value*/) { }
    168168
    169169    static uint64_t
    170170        TranslatePositionAbsToRel(const frm_dir_map_t &deleteMap,
    class DecoderBase 
    257257    virtual int  GetTeletextDecoderType(void) const { return -1; }
    258258
    259259    virtual QString GetXDS(const QString&) const { return QString::null; }
    260     virtual QByteArray GetSubHeader(uint trackNo) const { return QByteArray(); }
    261     virtual void GetAttachmentData(uint trackNo, QByteArray &filename,
    262                                    QByteArray &data) {}
     260    virtual QByteArray GetSubHeader(uint /*trackNo*/) const { return QByteArray(); }
     261    virtual void GetAttachmentData(uint /*trackNo*/, QByteArray &/*filename*/,
     262                                   QByteArray &/*data*/) {}
    263263
    264264    // MHEG/MHI stuff
    265265    virtual bool SetAudioByComponentTag(int) { return false; }
  • mythtv/libs/libmythtv/diseqc.cpp

    diff --git a/mythtv/libs/libmythtv/diseqc.cpp b/mythtv/libs/libmythtv/diseqc.cpp
    index d84c286..57a6d83 100644
    a b bool DiSEqCDevSCR::SendCommand(uint cmd, uint repeats, uint data_len, 
    22912291    return ret;
    22922292}
    22932293
    2294 uint DiSEqCDevSCR::GetVoltage(const DiSEqCDevSettings &settings,
    2295                               const DTVMultiplex      &tuning) const
     2294uint DiSEqCDevSCR::GetVoltage(const DiSEqCDevSettings &/*settings*/,
     2295                              const DTVMultiplex      &/*tuning*/) const
    22962296{
    22972297    return SEC_VOLTAGE_13;
    22982298}
  • mythtv/libs/libmythtv/filewriterbase.cpp

    diff --git a/mythtv/libs/libmythtv/filewriterbase.cpp b/mythtv/libs/libmythtv/filewriterbase.cpp
    index 650215d..52b7873 100644
    a b FileWriterBase::~FileWriterBase() 
    4040{
    4141}
    4242
    43 int FileWriterBase::WriteVideoFrame(VideoFrame *frame)
     43int FileWriterBase::WriteVideoFrame(VideoFrame */*frame*/)
    4444{
    4545    LOG(VB_RECORD, LOG_ERR, LOC + "WriteVideoFrame(): Shouldn't be here!");
    4646
    4747    return 1;
    4848}
    4949
    50 int FileWriterBase::WriteAudioFrame(unsigned char *buf, int fnum, long long &timecode)
     50int FileWriterBase::WriteAudioFrame(unsigned char */*buf*/, int /*fnum*/, long long &/*timecode*/)
    5151{
    5252    LOG(VB_RECORD, LOG_ERR, LOC + "WriteAudioFrame(): Shouldn't be here!");
    5353
  • mythtv/libs/libmythtv/filewriterbase.h

    diff --git a/mythtv/libs/libmythtv/filewriterbase.h b/mythtv/libs/libmythtv/filewriterbase.h
    index 15eb623..95117d9 100644
    a b class MTV_PUBLIC FileWriterBase 
    1818
    1919    virtual int  WriteVideoFrame(VideoFrame *frame);
    2020    virtual int  WriteAudioFrame(unsigned char *buf, int fnum, long long &timecode);
    21     virtual int  WriteTextFrame(int vbimode, unsigned char *buf, int len,
    22                                 long long timecode, int pagenr) { return 1; }
     21    virtual int  WriteTextFrame(int /*vbimode*/, unsigned char */*buf*/, int /*len*/,
     22                                long long /*timecode*/, int /*pagenr*/) { return 1; }
    2323    virtual int  WriteSeekTable(void) { return 1; }
    2424
    2525    virtual bool SwitchToNextFile(void) { return false; }
  • mythtv/libs/libmythtv/mhi.cpp

    diff --git a/mythtv/libs/libmythtv/mhi.cpp b/mythtv/libs/libmythtv/mhi.cpp
    index d7fa6e5..f01136f 100644
    a b void MHIDLA::DrawBorderedRectangle(int x, int y, int width, int height) 
    16841684}
    16851685
    16861686// Ovals (ellipses)
    1687 void MHIDLA::DrawOval(int x, int y, int width, int height)
     1687void MHIDLA::DrawOval(int /*x*/, int /*y*/, int /*width*/, int /*height*/)
    16881688{
    16891689    // Not implemented.  Not actually used in practice.
    16901690}
    16911691
    16921692// Arcs and sectors
    1693 void MHIDLA::DrawArcSector(int x, int y, int width, int height,
    1694                            int start, int arc, bool isSector)
     1693void MHIDLA::DrawArcSector(int /*x*/, int /*y*/, int /*width*/, int /*height*/,
     1694                           int /*start*/, int /*arc*/, bool /*isSector*/)
    16951695{
    16961696    // Not implemented.  Not actually used in practice.
    16971697}
  • mythtv/libs/libmythtv/mpeg/atsctables.h

    diff --git a/mythtv/libs/libmythtv/mpeg/atsctables.h b/mythtv/libs/libmythtv/mpeg/atsctables.h
    index 61e58a1..9f515b1 100644
    a b class MTV_PUBLIC AggregateEventInformationTable : public PSIPTable 
    802802
    803803    QString toString(void) const
    804804        { return "AggregateEventInformationTable\n"; }
    805     QString toStringXML(uint indent_level) const
     805    QString toStringXML(uint /*indent_level*/) const
    806806        { return "<AggregateEventInformationTable />"; }
    807807};
    808808
    class MTV_PUBLIC AggregateExtendedTextTable : public PSIPTable 
    822822
    823823    QString toString(void) const
    824824        { return "AggregateExtendedTextTable\n"; }
    825     QString toStringXML(uint indent_level) const
     825    QString toStringXML(uint /*indent_level*/) const
    826826        { return "<AggregateExtendedTextTable />"; }
    827827};
    828828
  • mythtv/libs/libmythtv/mpeg/mpegtables.cpp

    diff --git a/mythtv/libs/libmythtv/mpeg/mpegtables.cpp b/mythtv/libs/libmythtv/mpeg/mpegtables.cpp
    index c8e954f..867581a 100644
    a b QString SpliceTimeView::toStringXML( 
    12571257
    12581258/// \brief Returns decrypted version of this packet.
    12591259SpliceInformationTable *SpliceInformationTable::GetDecrypted(
    1260     const QString &codeWord) const
     1260    const QString &/*codeWord*/) const
    12611261{
    12621262    // TODO
    12631263    return NULL;
  • mythtv/libs/libmythtv/mpeg/sctetables.cpp

    diff --git a/mythtv/libs/libmythtv/mpeg/sctetables.cpp b/mythtv/libs/libmythtv/mpeg/sctetables.cpp
    index fa29fd3..02341b3 100644
    a b QString AggregateDataEventTable::toString(void) const 
    573573    return "Aggregate Data Event Section\n";
    574574}
    575575
    576 QString AggregateDataEventTable::toStringXML(uint indent_level) const
     576QString AggregateDataEventTable::toStringXML(uint /*indent_level*/) const
    577577{
    578578    // TODO
    579579    return "<AggregateDataEventSection />";
  • mythtv/libs/libmythtv/mpeg/sctetables.h

    diff --git a/mythtv/libs/libmythtv/mpeg/sctetables.h b/mythtv/libs/libmythtv/mpeg/sctetables.h
    index 011436a..d62afed 100644
    a b class MTV_PUBLIC ProgramInformationMessageTable : public PSIPTable 
    625625
    626626    QString toString(void) const
    627627        { return "Program Information Message\n"; }
    628     QString toStringXML(uint indent_level) const
     628    QString toStringXML(uint /*indent_level*/) const
    629629        { return "<ProgramInformationMessage />"; }
    630630};
    631631
    class MTV_PUBLIC ProgramNameMessageTable : public PSIPTable 
    645645
    646646    QString toString(void) const
    647647        { return "Program Name Message\n"; }
    648     QString toStringXML(uint indent_level) const
     648    QString toStringXML(uint /*indent_level*/) const
    649649        { return "<ProgramNameMessage />"; }
    650650};
    651651
  • mythtv/libs/libmythtv/mythplayer.h

    diff --git a/mythtv/libs/libmythtv/mythplayer.h b/mythtv/libs/libmythtv/mythplayer.h
    index 3123a95..e228add 100644
    a b class MTV_PUBLIC MythPlayer 
    241241    InteractiveTV *GetInteractiveTV(void);
    242242
    243243    // Title stuff
    244     virtual bool SwitchTitle(int title) { return false; }
     244    virtual bool SwitchTitle(int /*title*/) { return false; }
    245245    virtual bool NextTitle(void) { return false; }
    246246    virtual bool PrevTitle(void) { return false; }
    247247
    248248    // Angle stuff
    249     virtual bool SwitchAngle(int title) { return false; }
     249    virtual bool SwitchAngle(int /*title*/) { return false; }
    250250    virtual bool NextAngle(void) { return false; }
    251251    virtual bool PrevAngle(void) { return false; }
    252252
    class MTV_PUBLIC MythPlayer 
    289289
    290290    // Public Closed caption and teletext stuff
    291291    uint GetCaptionMode(void) const    { return textDisplayMode; }
    292     virtual CC708Reader    *GetCC708Reader(uint id=0) { return &cc708; }
    293     virtual CC608Reader    *GetCC608Reader(uint id=0) { return &cc608; }
    294     virtual SubtitleReader *GetSubReader(uint id=0) { return &subReader; }
    295     virtual TeletextReader *GetTeletextReader(uint id=0) { return &ttxReader; }
     292    virtual CC708Reader    *GetCC708Reader(uint /*id*/=0) { return &cc708; }
     293    virtual CC608Reader    *GetCC608Reader(uint /*id*/=0) { return &cc608; }
     294    virtual SubtitleReader *GetSubReader(uint /*id*/=0) { return &subReader; }
     295    virtual TeletextReader *GetTeletextReader(uint /*id*/=0) { return &ttxReader; }
    296296
    297297    // Public Audio/Subtitle/EIA-608/EIA-708 stream selection - thread safe
    298298    void TracksChanged(uint trackType);
    class MTV_PUBLIC MythPlayer 
    329329    // Title public stuff
    330330    virtual int GetNumTitles(void) const { return 0; }
    331331    virtual int GetCurrentTitle(void) const { return 0; }
    332     virtual int GetTitleDuration(int title) const { return 0; }
    333     virtual QString GetTitleName(int title) const { return QString(); }
     332    virtual int GetTitleDuration(int /*title*/) const { return 0; }
     333    virtual QString GetTitleName(int /*title*/) const { return QString(); }
    334334
    335335    // Angle public stuff
    336336    virtual int GetNumAngles(void) const { return 0; }
    337337    virtual int GetCurrentAngle(void) const { return 0; }
    338     virtual QString GetAngleName(int title) const { return QString(); }
     338    virtual QString GetAngleName(int /*title*/) const { return QString(); }
    339339
    340340    // DVD public stuff
    341     virtual bool GoToMenu(QString str)          { return false;     }
     341    virtual bool GoToMenu(QString /*str*/)      { return false;     }
    342342    virtual void GoToDVDProgram(bool direction) { (void) direction; }
    343343    virtual bool IsInStillFrame() const         { return false;     }
    344344
  • mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp b/mythtv/libs/libmythtv/recorders/ExternalStreamHandler.cpp
    index ce8d8ae..6514fc9 100644
    a b bool ExternIO::Run(void) 
    208208    return true;
    209209}
    210210
    211 void ExternIO::Term(bool force)
     211void ExternIO::Term(bool /*force*/)
    212212{
    213213    LOG(VB_RECORD, LOG_INFO, QString("ExternIO::Term()"));
    214214}
    void ExternalStreamHandler::PurgeBuffer(void) 
    11201120    }
    11211121}
    11221122
    1123 void ExternalStreamHandler::PriorityEvent(int fd)
     1123void ExternalStreamHandler::PriorityEvent(int /*fd*/)
    11241124{
    11251125    // TODO report on buffer overruns, etc.
    11261126}
  • mythtv/libs/libmythtv/recorders/channelbase.h

    diff --git a/mythtv/libs/libmythtv/recorders/channelbase.h b/mythtv/libs/libmythtv/recorders/channelbase.h
    index 5db7f55..84eecef 100644
    a b class ChannelBase 
    5555    virtual void SetFd(int fd) { (void)fd; };
    5656    /// \brief Returns file descriptor, -1 if it does not exist.
    5757    virtual int GetFd(void) const { return -1; };
    58     virtual bool Tune(const QString &freqid, int finetune) { return true; }
     58    virtual bool Tune(const QString &, int) { return true; }
    5959    virtual bool IsExternalChannelChangeInUse(void);
    6060
    6161    // Gets
    class ChannelBase 
    9393    virtual bool InitPictureAttributes(void) { return false; }
    9494    virtual int  GetPictureAttribute(PictureAttribute) const { return -1; }
    9595    virtual int  ChangePictureAttribute(
    96         PictureAdjustType, PictureAttribute, bool up) { return -1; }
     96        PictureAdjustType, PictureAttribute, bool) { return -1; }
    9797
    9898    bool CheckChannel(const QString &channum) const;
    9999
  • mythtv/libs/libmythtv/recorders/dtvchannel.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dtvchannel.cpp b/mythtv/libs/libmythtv/recorders/dtvchannel.cpp
    index e2a101d..86a1b68 100644
    a b bool DTVChannel::SetChannelByString(const QString &channum) 
    389389    return ok;
    390390}
    391391
    392 void DTVChannel::HandleScriptEnd(bool ok)
     392void DTVChannel::HandleScriptEnd(bool /*ok*/)
    393393{
    394394    // MAYBE TODO? need to tell signal monitor to throw out any tables
    395395    // it saw on the last mux...
  • mythtv/libs/libmythtv/recorders/dtvchannel.h

    diff --git a/mythtv/libs/libmythtv/recorders/dtvchannel.h b/mythtv/libs/libmythtv/recorders/dtvchannel.h
    index 0f5fba4..4b03a78 100644
    a b class DTVChannel : public ChannelBase 
    5252    /// will need to implement this when adding support for new hardware.
    5353    virtual bool Tune(const DTVMultiplex &tuning) = 0;
    5454    /// \brief Performs IPTV Tuning. Only implemented by IPTVChannel.
    55     virtual bool Tune(const IPTVTuningData&, bool scanning) { return false; }
     55    virtual bool Tune(const IPTVTuningData&, bool /*scanning*/) { return false; }
    5656    /// \brief Leave it up to the implementation to map the channnum
    5757    /// appropriately.
    5858    ///
    5959    /// Used by the ExternalRecorder.
    60     virtual bool Tune(const QString &channum) { return true; }
     60    virtual bool Tune(const QString &/*channum*/) { return true; }
    6161    /// \brief Enters power saving mode if the card supports it
    6262    virtual bool EnterPowerSavingMode(void)
    6363    {
    class DTVChannel : public ChannelBase 
    150150                    uint mpeg_tsid, int mpeg_pnum);
    151151    void ClearDTVInfo(void) { SetDTVInfo(0, 0, 0, 0, -1); }
    152152    /// \brief Checks tuning for problems, and tries to fix them.
    153     virtual void CheckOptions(DTVMultiplex &tuning) const {}
     153    virtual void CheckOptions(DTVMultiplex &/*tuning*/) const {}
    154154    virtual void HandleScriptEnd(bool ok);
    155155
    156156  protected:
  • mythtv/libs/libmythtv/recorders/dummychannel.h

    diff --git a/mythtv/libs/libmythtv/recorders/dummychannel.h b/mythtv/libs/libmythtv/recorders/dummychannel.h
    index 35b9466..ee3f721 100644
    a b class DummyChannel : public ChannelBase 
    2020        { (void)parent; m_curchannelname.clear(); curinputname.clear(); return; }
    2121    ~DummyChannel(void) { return; }
    2222
    23     bool IsTunable(const QString &channum) const
     23    bool IsTunable(const QString &/*channum*/) const
    2424        { return true; }
    2525
    2626    bool Open(void)     { return InitializeInput(); }
  • mythtv/libs/libmythtv/recorders/mpegrecorder.h

    diff --git a/mythtv/libs/libmythtv/recorders/mpegrecorder.h b/mythtv/libs/libmythtv/recorders/mpegrecorder.h
    index 6189e64..a508674 100644
    a b class MpegRecorder : public V4LRecorder, 
    4444    bool ProcessTSPacket(const TSPacket &tspacket);
    4545
    4646    // DeviceReaderCB
    47     virtual void ReaderPaused(int fd) { pauseWait.wakeAll(); }
    48     virtual void PriorityEvent(int fd) { }
     47    virtual void ReaderPaused(int /*fd*/) { pauseWait.wakeAll(); }
     48    virtual void PriorityEvent(int /*fd*/) { }
    4949
    5050  private:
    5151    virtual void InitStreamData(void);
  • mythtv/libs/libmythtv/recorders/streamhandler.h

    diff --git a/mythtv/libs/libmythtv/recorders/streamhandler.h b/mythtv/libs/libmythtv/recorders/streamhandler.h
    index eb4d2ed..8b00506 100644
    a b class PIDInfo 
    3232        streamType(stream_type),         pesType(pes_type) {;}
    3333    virtual ~PIDInfo() {;}
    3434
    35     virtual bool Open(const QString &dev, bool use_section_reader)
     35    virtual bool Open(const QString &/*dev*/, bool /*use_section_reader*/)
    3636        { return false; }
    37     virtual bool Close(const QString &dev) { return false; }
     37    virtual bool Close(const QString &/*dev*/) { return false; }
    3838    bool IsOpen(void) const { return filter_fd >= 0; }
    3939
    4040    uint        _pid;
  • mythtv/libs/libmythtv/recorders/v4lrecorder.h

    diff --git a/mythtv/libs/libmythtv/recorders/v4lrecorder.h b/mythtv/libs/libmythtv/recorders/v4lrecorder.h
    index b40f8d4..df4fc1b 100644
    a b class MTV_PUBLIC V4LRecorder : public DTVRecorder 
    3939    void RunVBIDevice(void);
    4040
    4141    virtual bool IsHelperRequested(void) const;
    42     virtual void FormatTT(struct VBIData *vbidata) {}
    43     virtual void FormatCC(uint code1, uint code2) {}
     42    virtual void FormatTT(struct VBIData */*vbidata*/) {}
     43    virtual void FormatCC(uint /*code1*/, uint /*code2*/) {}
    4444
    4545  protected:
    4646    QString          audiodevice;
  • mythtv/libs/libmythtv/ringbuffer.h

    diff --git a/mythtv/libs/libmythtv/ringbuffer.h b/mythtv/libs/libmythtv/ringbuffer.h
    index 201537e..9c23115 100644
    a b class MTV_PUBLIC RingBuffer : protected MThread 
    109109    DVDRingBuffer *DVD(void);
    110110    BDRingBuffer  *BD(void);
    111111    virtual bool StartFromBeginning(void)                   { return true;  }
    112     virtual void IgnoreWaitStates(bool ignore)              { }
     112    virtual void IgnoreWaitStates(bool /*ignore*/)          { }
    113113    virtual bool IsInMenu(void) const                       { return false; }
    114114    virtual bool IsInStillFrame(void) const                 { return false; }
    115115    virtual bool IsInDiscMenuOrStillFrame(void) const       { return IsInMenu() || IsInStillFrame(); }
    class MTV_PUBLIC RingBuffer : protected MThread 
    125125     */
    126126    virtual bool OpenFile(const QString &lfilename,
    127127                          uint retry_ms = kDefaultOpenTimeout) = 0;
    128     virtual bool ReOpen(QString newFilename = "") { return false; }
     128    virtual bool ReOpen(QString /*newFilename*/ = "") { return false; }
    129129
    130130    int  Read(void *buf, int count);
    131131    int  Peek(void *buf, int count); // only works with readahead
  • mythtv/libs/libmythtv/v4l2util.cpp

    diff --git a/mythtv/libs/libmythtv/v4l2util.cpp b/mythtv/libs/libmythtv/v4l2util.cpp
    index bf73e22..c792099 100644
    a b bool V4L2util::ResumeEncoding(void) 
    12251225    return SetEncoderState(V4L2_ENC_CMD_RESUME, "Resume");
    12261226}
    12271227
    1228 bool V4L2util::OpenVBI(const QString& vbi_dev_name)
     1228bool V4L2util::OpenVBI(const QString& /*vbi_dev_name*/)
    12291229{
    12301230    return false;
    12311231}
  • mythtv/libs/libmythtv/videoout_null.h

    diff --git a/mythtv/libs/libmythtv/videoout_null.h b/mythtv/libs/libmythtv/videoout_null.h
    index acdfeb6..3e9bcad 100644
    a b class VideoOutputNull : public VideoOutput 
    3939    static QStringList GetAllowedRenderers(MythCodecID myth_codec_id,
    4040                                           const QSize &video_dim);
    4141    void MoveResizeWindow(QRect ) {;}
    42     virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render,
    43                                     const QString &name) { return false; }
     42    virtual bool SetupVisualisation(AudioPlayer *, MythRender *,
     43                                    const QString &) { return false; }
    4444
    4545  private:
    4646    QMutex     global_lock;
  • mythtv/libs/libmythtv/videoout_nullvaapi.h

    diff --git a/mythtv/libs/libmythtv/videoout_nullvaapi.h b/mythtv/libs/libmythtv/videoout_nullvaapi.h
    index 9689044..b9c685d 100644
    a b class VideoOutputNullVAAPI : public VideoOutput 
    2525                              void        *codec_private,
    2626                              bool        &aspect_only);
    2727
    28     virtual bool SetupDeinterlace(bool, const QString &ovrf = "") { return false; }
     28    virtual bool SetupDeinterlace(bool, const QString & = "")    { return false; }
    2929    virtual bool SetDeinterlacingEnabled(bool)                    { return false; }
    30     virtual bool ApproveDeintFilter(const QString& filtername) const { return false; }
     30    virtual bool ApproveDeintFilter(const QString&) const        { return false; }
    3131    virtual void ReleaseFrame(VideoFrame *frame);
    32     virtual void ProcessFrame(VideoFrame *frame, OSD *osd,
    33                               FilterChain *filterList,
    34                               const PIPMap &pipPlayers,
    35                               FrameScanType scan)         {;}
    36     virtual void PrepareFrame(VideoFrame *buffer,
    37                               FrameScanType, OSD *osd)    {;}
     32    virtual void ProcessFrame(VideoFrame *, OSD *,
     33                              FilterChain *,
     34                              const PIPMap &,
     35                              FrameScanType)              {;}
     36    virtual void PrepareFrame(VideoFrame *,
     37                              FrameScanType, OSD *)       {;}
    3838    virtual void Show(FrameScanType )                     {;}
    3939
    40     virtual void Zoom(ZoomDirection direction)            {;}
    41     virtual void EmbedInWidget(const QRect &rect)         {;}
     40    virtual void Zoom(ZoomDirection)                      {;}
     41    virtual void EmbedInWidget(const QRect &)             {;}
    4242    virtual void StopEmbedding(void)                      {;}
    43     virtual void DrawUnusedRects(bool sync = true)        {;}
    44     virtual void UpdatePauseFrame(int64_t &disp_timecode) {;}
     43    virtual void DrawUnusedRects(bool = true)             {;}
     44    virtual void UpdatePauseFrame(int64_t &)              {;}
    4545    virtual void MoveResizeWindow(QRect )                 {;}
    46     virtual bool CanVisualise(AudioPlayer *audio, MythRender *render)
     46    virtual bool CanVisualise(AudioPlayer *, MythRender *)
    4747        { return false; }
    48     virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render,
    49                                     const QString &name) { return false; }
     48    virtual bool SetupVisualisation(AudioPlayer *, MythRender *,
     49                                    const QString &) { return false; }
    5050    virtual MythPainter *GetOSDPainter(void) { return NULL; }
    5151    virtual VideoFrame *GetLastDecodedFrame(void);
    5252    virtual VideoFrame *GetLastShownFrame(void);
  • mythtv/libs/libmythtv/videoout_nullvdpau.cpp

    diff --git a/mythtv/libs/libmythtv/videoout_nullvdpau.cpp b/mythtv/libs/libmythtv/videoout_nullvdpau.cpp
    index 8952e1b..c4a5480 100644
    a b bool VideoOutputNullVDPAU::BufferSizeCheck(void) 
    610610    return true;
    611611}
    612612
    613 void* VideoOutputNullVDPAU::GetDecoderContext(unsigned char* buf, uint8_t*& id)
     613void* VideoOutputNullVDPAU::GetDecoderContext(unsigned char* /*buf*/, uint8_t*& /*id*/)
    614614{
    615615    return &m_context;
    616616}
  • mythtv/libs/libmythtv/videoout_nullvdpau.h

    diff --git a/mythtv/libs/libmythtv/videoout_nullvdpau.h b/mythtv/libs/libmythtv/videoout_nullvdpau.h
    index 4eb3759..0978c6c 100644
    a b class VideoOutputNullVDPAU : public VideoOutput 
    4646                              MythCodecID  av_codec_id,
    4747                              void        *codec_private,
    4848                              bool        &aspect_only);
    49     virtual bool SetupDeinterlace(bool, const QString &ovrf = "") { return false; }
     49    virtual bool SetupDeinterlace(bool, const QString & = "")    { return false; }
    5050    virtual bool SetDeinterlacingEnabled(bool)                    { return false; }
    51     virtual bool ApproveDeintFilter(const QString& filtername) const { return false; }
     51    virtual bool ApproveDeintFilter(const QString&) const { return false; }
    5252    virtual void ClearAfterSeek(void);
    5353    virtual void ReleaseFrame(VideoFrame *frame);
    54     virtual void ProcessFrame(VideoFrame *frame, OSD *osd,
    55                               FilterChain *filterList,
    56                               const PIPMap &pipPlayers,
    57                               FrameScanType scan)         {;}
    58     virtual void PrepareFrame(VideoFrame *buffer,
    59                               FrameScanType, OSD *osd)    {;}
     54    virtual void ProcessFrame(VideoFrame *, OSD *,
     55                              FilterChain *,
     56                              const PIPMap &,
     57                              FrameScanType)         {;}
     58    virtual void PrepareFrame(VideoFrame *,
     59                              FrameScanType, OSD *)    {;}
    6060    virtual void Show(FrameScanType )                     {;}
    6161
    62     virtual void Zoom(ZoomDirection direction)            {;}
    63     virtual void EmbedInWidget(const QRect &rect)         {;}
     62    virtual void Zoom(ZoomDirection)                      {;}
     63    virtual void EmbedInWidget(const QRect &)             {;}
    6464    virtual void StopEmbedding(void)                      {;}
    65     virtual void DrawUnusedRects(bool sync = true)        {;}
    66     virtual void UpdatePauseFrame(int64_t &disp_timecode) {;}
     65    virtual void DrawUnusedRects(bool = true)             {;}
     66    virtual void UpdatePauseFrame(int64_t &)              {;}
    6767    virtual void MoveResizeWindow(QRect )                 {;}
    68     virtual bool CanVisualise(AudioPlayer *audio, MythRender *render)
     68    virtual bool CanVisualise(AudioPlayer *, MythRender *)
    6969        { return false; }
    70     virtual bool SetupVisualisation(AudioPlayer *audio, MythRender *render,
    71                                     const QString &name) { return false; }
     70    virtual bool SetupVisualisation(AudioPlayer *, MythRender *,
     71                                    const QString &) { return false; }
    7272    virtual MythPainter *GetOSDPainter(void) { return NULL; }
    7373    virtual void DrawSlice(VideoFrame *frame, int x, int y, int w, int h);
    7474
  • mythtv/libs/libmythtv/videoout_openglvaapi.cpp

    diff --git a/mythtv/libs/libmythtv/videoout_openglvaapi.cpp b/mythtv/libs/libmythtv/videoout_openglvaapi.cpp
    index 203c6c5..8d5ea54 100644
    a b bool VideoOutputOpenGLVAAPI::SetDeinterlacingEnabled(bool enable) 
    222222    return m_deinterlacing;
    223223}
    224224
    225 bool VideoOutputOpenGLVAAPI::SetupDeinterlace(bool i, const QString& ovrf)
     225bool VideoOutputOpenGLVAAPI::SetupDeinterlace(bool i, const QString& /*ovrf*/)
    226226{
    227227    //m_deintfiltername = !db_vdisp_profile ? "" :
    228228    //                     db_vdisp_profile->GetFilteredDeint(ovrf);
  • mythtv/libs/libmythtv/videoout_vdpau.cpp

    diff --git a/mythtv/libs/libmythtv/videoout_vdpau.cpp b/mythtv/libs/libmythtv/videoout_vdpau.cpp
    index 3b2153e..07f6e6d 100644
    a b void VideoOutputVDPAU::SetVideoFlip(void) 
    13391339    m_render->SetVideoFlip();
    13401340}
    13411341
    1342 void* VideoOutputVDPAU::GetDecoderContext(unsigned char* buf, uint8_t*& id)
     1342void* VideoOutputVDPAU::GetDecoderContext(unsigned char* /*buf*/, uint8_t*& /*id*/)
    13431343{
    13441344    return &m_context;
    13451345}
  • mythtv/libs/libmythtv/videooutbase.h

    diff --git a/mythtv/libs/libmythtv/videooutbase.h b/mythtv/libs/libmythtv/videooutbase.h
    index afc7abf..dd2a0eb 100644
    a b class VideoOutput 
    7878                              OSD *osd) = 0;
    7979    virtual void Show(FrameScanType) = 0;
    8080
    81     virtual void WindowResized(const QSize &new_size) {}
     81    virtual void WindowResized(const QSize &) {}
    8282
    8383    virtual bool InputChanged(const QSize &video_dim_buf,
    8484                              const QSize &video_dim_disp,
    class VideoOutput 
    152152
    153153    /// \brief Return true if HW Acceleration is running
    154154    virtual bool hasHWAcceleration(void) const { return false; }
    155     virtual void* GetDecoderContext(unsigned char* buf, uint8_t*& id) { return NULL; }
     155    virtual void* GetDecoderContext(unsigned char*, uint8_t*&) { return NULL; }
    156156
    157157    /// \brief Sets the number of frames played
    158158    virtual void SetFramesPlayed(long long fp) { framesPlayed = fp; };
    class VideoOutput 
    244244    virtual QRect GetPIPRect(PIPLocation location,
    245245                             MythPlayer *pipplayer = NULL,
    246246                             bool do_pixel_adj = true) const;
    247     virtual void RemovePIP(MythPlayer *pipplayer) { }
     247    virtual void RemovePIP(MythPlayer *) { }
    248248
    249249    virtual void SetPIPState(PIPState setting);
    250250
    251251    virtual QString GetOSDRenderer(void) const;
    252252    virtual MythPainter *GetOSDPainter(void) { return (MythPainter*)osd_painter; }
    253     virtual bool GetScreenShot(int width = 0, int height = 0,
    254                                QString filename = "") { return false; }
     253    virtual bool GetScreenShot(int = 0, int = 0, QString = "") { return false; }
    255254
    256255    QString GetFilters(void) const;
    257256    /// \brief translates caption/dvd button rectangle into 'screen' space
  • mythtv/libs/libmythtv/videosource.h

    diff --git a/mythtv/libs/libmythtv/videosource.h b/mythtv/libs/libmythtv/videosource.h
    index 96cba4f..e559700 100644
    a b class MTV_PUBLIC CaptureCardEditor : public QObject, public ConfigurationDialog 
    777777    virtual void Load(void);
    778778
    779779    virtual void Save(void) { }
    780     virtual void Save(QString destination) { }
     780    virtual void Save(QString /*destination*/) { }
    781781
    782782  public slots:
    783783    void menu(void);
  • mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp

    diff --git a/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp b/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp
    index 6ac4af3..ebbe227 100644
    a b static class VideoVisualSpectrumFactory : public VideoVisualFactory 
    202202        return new VideoVisualSpectrum(audio, render);
    203203    }
    204204
    205     virtual bool SupportedRenderer(RenderType type) { return true; }
     205    virtual bool SupportedRenderer(RenderType /*type*/) { return true; }
    206206} VideoVisualSpectrumFactory;
  • mythtv/libs/libmythtv/vsync.h

    diff --git a/mythtv/libs/libmythtv/vsync.h b/mythtv/libs/libmythtv/vsync.h
    index 94cbd4e..56ab9f9 100644
    a b class DummyVideoSync : public VideoSync 
    220220
    221221    QString getName(void) const { return QString("Dummy"); }
    222222    bool TryInit(void) { return true; }
    223     int WaitForFrame(int sync_delay) { return 0; }
     223    int WaitForFrame(int /*sync_delay*/) { return 0; }
    224224};
    225225#endif /* VSYNC_H_INCLUDED */
  • mythtv/libs/libmythui/mythpainter.cpp

    diff --git a/mythtv/libs/libmythui/mythpainter.cpp b/mythtv/libs/libmythui/mythpainter.cpp
    index 0a96b97..3c4b0da 100644
    a b void MythPainter::SetClipRegion(const QRegion &) 
    5555{
    5656}
    5757
    58 void MythPainter::Clear(QPaintDevice *device, const QRegion &region)
     58void MythPainter::Clear(QPaintDevice */*device*/, const QRegion &/*region*/)
    5959{
    6060}
    6161
  • mythtv/libs/libmythui/mythpainter_qimage.h

    diff --git a/mythtv/libs/libmythui/mythpainter_qimage.h b/mythtv/libs/libmythui/mythpainter_qimage.h
    index c75b2e6..970abd3 100644
    a b class MUI_PUBLIC MythQImagePainter : public MythPainter 
    4747
    4848  protected:
    4949    virtual MythImage* GetFormatImagePriv(void) { return new MythImage(this); }
    50     virtual void DeleteFormatImagePriv(MythImage *im) { }
     50    virtual void DeleteFormatImagePriv(MythImage */*im*/) { }
    5151
    5252    void CheckPaintMode(const QRect &area);
    5353
  • mythtv/libs/libmythui/mythrender_opengl.h

    diff --git a/mythtv/libs/libmythui/mythrender_opengl.h b/mythtv/libs/libmythui/mythrender_opengl.h
    index a06d153..8aff517 100644
    a b class MUI_PUBLIC MythRenderOpenGL : protected MythRenderContext, public MythRend 
    155155    virtual void  PopTransformation(void) = 0;
    156156    void  Flush(bool use_fence);
    157157    void  SetBlend(bool enable);
    158     virtual void SetColor(int r, int g, int b, int a) { }
     158    virtual void SetColor(int /*r*/, int /*g*/, int /*b*/, int /*a*/) { }
    159159    void  SetBackground(int r, int g, int b, int a);
    160160    void  SetFence(void);
    161161
  • mythtv/libs/libmythui/mythrender_opengl1.h

    diff --git a/mythtv/libs/libmythui/mythrender_opengl1.h b/mythtv/libs/libmythui/mythrender_opengl1.h
    index ce651df..f805dd2 100644
    a b class MUI_PUBLIC MythRenderOpenGL1 : public MythRenderOpenGL 
    3333                                uint prog);
    3434    virtual void DrawRectPriv(const QRect &area, const QBrush &fillBrush,
    3535                              const QPen &linePen, int alpha);
    36     virtual void DrawRoundRectPriv(const QRect &area, int cornerRadius,
    37                                    const QBrush &fillBrush, const QPen &linePen,
    38                                    int alpha) { }
     36    virtual void DrawRoundRectPriv(const QRect &/*area*/, int /*cornerRadius*/,
     37                                   const QBrush &/*fillBrush*/, const QPen &/*linePen*/,
     38                                   int /*alpha*/) { }
    3939
    4040    virtual void Init2DState(void);
    4141    virtual void InitProcs(void);
  • mythtv/libs/libmythui/mythrender_vdpau.cpp

    diff --git a/mythtv/libs/libmythui/mythrender_vdpau.cpp b/mythtv/libs/libmythui/mythrender_vdpau.cpp
    index fae4e7a..f80120d 100644
    a b void MythRenderVDPAU::Decode(uint id, struct vdpau_render_state *render, 
    15961596    CHECK_ST
    15971597}
    15981598
    1599 static const char* dummy_get_error_string(VdpStatus status)
     1599static const char* dummy_get_error_string(VdpStatus /*status*/)
    16001600{
    16011601    static const char dummy[] = "Unknown";
    16021602    return &dummy[0];
  • mythtv/libs/libmythupnp/serializers/serializer.h

    diff --git a/mythtv/libs/libmythupnp/serializers/serializer.h b/mythtv/libs/libmythupnp/serializers/serializer.h
    index c5645b9..470b706 100644
    a b class UPNP_PUBLIC Serializer 
    3434
    3535        QCryptographicHash  m_hash;
    3636
    37         virtual void BeginSerialize( QString &sName ) {}
     37        virtual void BeginSerialize( QString &/*sName*/ ) {}
    3838        virtual void EndSerialize  () {}
    3939
    4040        virtual void BeginObject( const QString &sName, const QObject  *pObject ) = 0;
  • mythtv/libs/libmythupnp/upnpcds.cpp

    diff --git a/mythtv/libs/libmythupnp/upnpcds.cpp b/mythtv/libs/libmythupnp/upnpcds.cpp
    index 29c231d..cc86e75 100644
    a b QString UPnpCDSExtension::RemoveToken( const QString &sToken, 
    964964 *  \return true if we could load the metadata
    965965 *
    966966 */
    967 bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* pRequest,
    968                                      UPnpCDSExtensionResults* pResults,
    969                                      IDTokenMap tokens, QString currentToken)
     967bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* /*pRequest*/,
     968                                     UPnpCDSExtensionResults* /*pResults*/,
     969                                     IDTokenMap /*tokens*/, QString /*currentToken*/)
    970970{
    971971    return false;
    972972}
    bool UPnpCDSExtension::LoadMetadata(const UPnpCDSRequest* pRequest, 
    985985 *  \return true if we could load the children
    986986 *
    987987 */
    988 bool UPnpCDSExtension::LoadChildren(const UPnpCDSRequest* pRequest,
    989                                     UPnpCDSExtensionResults* pResults,
    990                                     IDTokenMap tokens, QString currentToken)
     988bool UPnpCDSExtension::LoadChildren(const UPnpCDSRequest* /*pRequest*/,
     989                                    UPnpCDSExtensionResults* /*pResults*/,
     990                                    IDTokenMap /*tokens*/, QString /*currentToken*/)
    991991{
    992992    return false;
    993993}
  • mythtv/libs/libmythupnp/websocket.cpp

    diff --git a/mythtv/libs/libmythupnp/websocket.cpp b/mythtv/libs/libmythupnp/websocket.cpp
    index 66119bd..bbbba87 100644
    a b void WebSocketWorker::ProcessFrames(QTcpSocket *socket) 
    655655    }
    656656}
    657657
    658 void WebSocketWorker::HandleControlFrame(const WebSocketFrame &frame)
     658void WebSocketWorker::HandleControlFrame(const WebSocketFrame &/*frame*/)
    659659{
    660 
    661660}
    662661
    663662void WebSocketWorker::HandleDataFrame(const WebSocketFrame &frame)
  • mythtv/libs/libmythupnp/websocket.h

    diff --git a/mythtv/libs/libmythupnp/websocket.h b/mythtv/libs/libmythupnp/websocket.h
    index 9a130f5..64970a6 100644
    a b class WebSocketExtension : public QObject 
    142142    WebSocketExtension() : QObject() { };
    143143    virtual ~WebSocketExtension() {};
    144144
    145     virtual bool HandleTextFrame(const WebSocketFrame &frame) { return false; }
    146     virtual bool HandleBinaryFrame(const WebSocketFrame &frame) { return false; }
     145    virtual bool HandleTextFrame(const WebSocketFrame &/*frame*/) { return false; }
     146    virtual bool HandleBinaryFrame(const WebSocketFrame &/*frame*/) { return false; }
    147147
    148148  signals:
    149149    void SendTextMessage(const QString &);
  • mythtv/programs/mythbackend/services/capture.h

    diff --git a/mythtv/programs/mythbackend/services/capture.h b/mythtv/programs/mythbackend/services/capture.h
    index 55cb177..1507953 100644
    a b class Capture : public CaptureServices 
    3636
    3737    public:
    3838
    39         Q_INVOKABLE explicit Capture( QObject *parent = 0 ) {}
     39        Q_INVOKABLE explicit Capture( QObject */*parent*/ = 0 ) {}
    4040
    4141    public:
    4242
  • mythtv/programs/mythbackend/services/channel.h

    diff --git a/mythtv/programs/mythbackend/services/channel.h b/mythtv/programs/mythbackend/services/channel.h
    index 800caa5..aecb8a5 100644
    a b class Channel : public ChannelServices 
    3636
    3737    public:
    3838
    39         Q_INVOKABLE explicit Channel( QObject *parent = 0 ) {}
     39        Q_INVOKABLE explicit Channel( QObject */*parent*/ = 0 ) {}
    4040
    4141    public:
    4242
  • mythtv/programs/mythbackend/services/content.h

    diff --git a/mythtv/programs/mythbackend/services/content.h b/mythtv/programs/mythbackend/services/content.h
    index 25a9661..da6a972 100644
    a b class Content : public ContentServices 
    3636
    3737    public:
    3838
    39         Q_INVOKABLE explicit Content( QObject *parent = 0 ) {}
     39        Q_INVOKABLE explicit Content( QObject */*parent*/ = 0 ) {}
    4040
    4141    public:
    4242
  • mythtv/programs/mythbackend/services/dvr.h

    diff --git a/mythtv/programs/mythbackend/services/dvr.h b/mythtv/programs/mythbackend/services/dvr.h
    index ff28e5d..3e42971 100644
    a b class Dvr : public DvrServices 
    3636
    3737    public:
    3838
    39         Q_INVOKABLE explicit Dvr( QObject *parent = 0 ) {}
     39        Q_INVOKABLE explicit Dvr( QObject */*parent*/ = 0 ) {}
    4040
    4141    public:
    4242
  • mythtv/programs/mythbackend/services/guide.h

    diff --git a/mythtv/programs/mythbackend/services/guide.h b/mythtv/programs/mythbackend/services/guide.h
    index d81331b..d3d7239 100644
    a b class Guide : public GuideServices 
    4343
    4444    public:
    4545
    46         Q_INVOKABLE explicit Guide( QObject *parent = 0 ) {}
     46        Q_INVOKABLE explicit Guide( QObject */*parent*/ = 0 ) {}
    4747
    4848    public:
    4949
  • mythtv/programs/mythbackend/services/image.h

    diff --git a/mythtv/programs/mythbackend/services/image.h b/mythtv/programs/mythbackend/services/image.h
    index 3449604..190698e 100644
    a b class Image : public ImageServices 
    3232    Q_OBJECT
    3333
    3434public:
    35     Q_INVOKABLE explicit Image( QObject *parent = 0 ) {}
     35    Q_INVOKABLE explicit Image( QObject */*parent*/ = 0 ) {}
    3636
    3737public:
    3838    QString                     GetImageInfo                ( int   Id,
  • mythtv/programs/mythbackend/services/video.h

    diff --git a/mythtv/programs/mythbackend/services/video.h b/mythtv/programs/mythbackend/services/video.h
    index 1fe1ecb..f3f8207 100644
    a b class Video : public VideoServices 
    3838
    3939    public:
    4040
    41         Q_INVOKABLE explicit Video( QObject *parent = 0 ) {}
     41        Q_INVOKABLE explicit Video( QObject */*parent*/ = 0 ) {}
    4242
    4343    public:
    4444
  • mythtv/programs/mythtranscode/audioreencodebuffer.h

    diff --git a/mythtv/programs/mythtranscode/audioreencodebuffer.h b/mythtv/programs/mythtranscode/audioreencodebuffer.h
    index 041e7ea..91066ec 100644
    a b class AudioReencodeBuffer : public AudioOutput 
    5959    virtual void      ToggleMute(void)              { }
    6060    virtual MuteState GetMuteState(void) const      { return kMuteOff; }
    6161    virtual MuteState IterateMutedChannels(void)    { return kMuteOff; }
    62     virtual void      SetSWVolume(int new_volume, bool save) { return; }
     62    virtual void      SetSWVolume(int, bool)        { return; }
    6363    virtual int       GetSWVolume(void)             { return 100; }
    6464    virtual bool      CanPassthrough(int, int, int, int) const
    6565                      { return m_initpassthru; }
  • mythtv/programs/mythutil/mpegutils.cpp

    diff --git a/mythtv/programs/mythutil/mpegutils.cpp b/mythtv/programs/mythutil/mpegutils.cpp
    index 8896fc0..497a49c 100644
    a b class PrintMPEGStreamListener : public MPEGStreamListener, public PrintOutput 
    500500        }
    501501    }
    502502
    503     void HandleEncryptionStatus(uint program_number, bool)
     503    void HandleEncryptionStatus(uint /*program_number*/, bool /*encrypted*/)
    504504    {
    505505    }
    506506
    class PrintATSCAuxStreamListener : 
    602602        PrintOutput(out, use_xml) { }
    603603
    604604    virtual void HandleTVCT(
    605         uint pid, const TerrestrialVirtualChannelTable *tvct)
     605        uint /*pid*/, const TerrestrialVirtualChannelTable */*tvct*/)
    606606    {
    607607        // already handled in HandleVCT
    608608    }
    609609
    610     virtual void HandleCVCT(uint pid, const CableVirtualChannelTable *cvct)
     610    virtual void HandleCVCT(uint /*pid*/, const CableVirtualChannelTable */*cvct*/)
    611611    {
    612612        // already handled in HandleVCT
    613613    }