From 9a9d241e2bcb06166a513f7d6fc4ed55247465d1 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 9 Jul 2012 09:26:37 +0200 Subject: [PATCH] fix gcc 4.7.x warnings Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/df2ab719785e1f22be8707e2ebe111f90ac96647 Author: Jacek Jendrzej Date: 2012-07-09 (Mon, 09 Jul 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/sectionsdclient/sectionsdclient.h | 1 + lib/timerdclient/timerdclient.h | 1 + src/gui/widget/stringinput_ext.h | 1 + src/zapit/include/zapit/capmt.h | 1 + src/zapit/include/zapit/client/zapitclient.h | 2 ++ 5 files changed, 6 insertions(+) diff --git a/lib/sectionsdclient/sectionsdclient.h b/lib/sectionsdclient/sectionsdclient.h index d42e99237..4065ffc2d 100644 --- a/lib/sectionsdclient/sectionsdclient.h +++ b/lib/sectionsdclient/sectionsdclient.h @@ -72,6 +72,7 @@ class CSectionsdClient : private CBasicClient char * parseExtendedEvents(char * dp, CEPGData * epgdata); public: + virtual ~CSectionsdClient() {}; enum SIlanguageMode_t { ALL, FIRST_FIRST, diff --git a/lib/timerdclient/timerdclient.h b/lib/timerdclient/timerdclient.h index 6b763c7c5..f9e66625b 100644 --- a/lib/timerdclient/timerdclient.h +++ b/lib/timerdclient/timerdclient.h @@ -41,6 +41,7 @@ class CTimerdClient:private CBasicClient virtual const char * getSocketName() const; public: + virtual ~CTimerdClient() {}; enum events { EVT_SHUTDOWN = 1, diff --git a/src/gui/widget/stringinput_ext.h b/src/gui/widget/stringinput_ext.h index eb49b14ad..a237cf6e0 100644 --- a/src/gui/widget/stringinput_ext.h +++ b/src/gui/widget/stringinput_ext.h @@ -99,6 +99,7 @@ class CExtendedInput_Item virtual bool isSelectable(){return true;}; virtual void keyPressed( int /*key*/ ){}; + virtual ~CExtendedInput_Item() {}; }; class CExtendedInput_Item_Spacer : public CExtendedInput_Item diff --git a/src/zapit/include/zapit/capmt.h b/src/zapit/include/zapit/capmt.h index c55b625bd..c24267c58 100644 --- a/src/zapit/include/zapit/capmt.h +++ b/src/zapit/include/zapit/capmt.h @@ -63,6 +63,7 @@ class CCam : public CBasicClient CAPMT_UPDATE = 0x05 }; CCam(); + virtual ~CCam() {}; bool sendMessage(const char * const data, const size_t length, bool update = false); bool makeCaPmt(CZapitChannel * channel, uint8_t list = CAPMT_ONLY, const CaIdVector &caids = CaIdVector()); bool setCaPmt(bool update = false); diff --git a/src/zapit/include/zapit/client/zapitclient.h b/src/zapit/include/zapit/client/zapitclient.h index 7dd62f0c8..4387ef43e 100644 --- a/src/zapit/include/zapit/client/zapitclient.h +++ b/src/zapit/include/zapit/client/zapitclient.h @@ -514,6 +514,8 @@ class CZapitClient:public CBasicClient ein beliebiges Event abmelden */ void unRegisterEvent(const unsigned int eventID, const unsigned int clientID); + + virtual ~CZapitClient() {}; }; #define PAL 0