1
0
Fork 0
forked from len0rd/rockbox

Fix a couple of warnings and remove an unused variable.

Change-Id: I1617ef882e9bcaaaafe58a932fadd803851ec88f
This commit is contained in:
Dominik Riebeling 2012-10-06 10:51:50 +02:00
parent c659f9979a
commit 4d96b4c7b0
5 changed files with 5 additions and 8 deletions

View file

@ -67,9 +67,6 @@ class TTSCarbon : public TTSBase
unsigned int extended2int(unsigned char* buf);
int convertAiffToWav(const char* aiff, const char* wav);
protected:
// static QMap<QString,QString> ttsList;
};
#endif // TTSCARBON_H

View file

@ -26,10 +26,9 @@
class TTSMssp: public TTSSapi
{
//! Enum to identify the settings
Q_OBJECT
public:
TTSMssp(QObject* parent=NULL)
TTSMssp(QObject* parent=NULL) : TTSSapi(parent)
{
m_TTSTemplate = "cscript //nologo \"%exe\" "
"/language:%lang /voice:\"%voice\" "

View file

@ -26,10 +26,9 @@
class TTSSapi4: public TTSSapi
{
//! Enum to identify the settings
Q_OBJECT
public:
TTSSapi4(QObject* parent=NULL)
TTSSapi4(QObject* parent=NULL) : TTSSapi(parent)
{
m_TTSTemplate = "cscript //nologo \"%exe\" "
"/language:%lang /voice:\"%voice\" "

View file

@ -787,6 +787,9 @@ bool Utils::ejectDevice(QString device)
if(result == noErr && found)
return true;
#endif
#if defined(Q_OS_LINUX)
(void)device;
#endif
return false;
}

View file

@ -46,7 +46,6 @@ class ZipUtil : public QObject
private:
QList<QuaZipFileInfo> contentProperties();
QuaZip* m_zip;
QuaZipFile* m_file;
};
#endif