mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26339 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6ce5279ff3
commit
07ba746151
1 changed files with 1 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ bool TTSCarbon::start(QString *errStr)
|
||||||
{
|
{
|
||||||
(void)errStr;
|
(void)errStr;
|
||||||
VoiceSpec vspec;
|
VoiceSpec vspec;
|
||||||
VoiceSpec* vspecref;
|
VoiceSpec* vspecref = NULL;
|
||||||
VoiceDescription vdesc;
|
VoiceDescription vdesc;
|
||||||
OSErr error;
|
OSErr error;
|
||||||
QString selectedVoice
|
QString selectedVoice
|
||||||
|
|
@ -72,7 +72,6 @@ bool TTSCarbon::start(QString *errStr)
|
||||||
// voice not found. Add user notification here and proceed with
|
// voice not found. Add user notification here and proceed with
|
||||||
// system default voice.
|
// system default voice.
|
||||||
qDebug() << "selected voice not found, using system default!";
|
qDebug() << "selected voice not found, using system default!";
|
||||||
vspecref = NULL;
|
|
||||||
GetVoiceDescription(&vspec, &vdesc, sizeof(vdesc));
|
GetVoiceDescription(&vspec, &vdesc, sizeof(vdesc));
|
||||||
if(vdesc.script != -1)
|
if(vdesc.script != -1)
|
||||||
m_voiceScript = (CFStringBuiltInEncodings)vdesc.script;
|
m_voiceScript = (CFStringBuiltInEncodings)vdesc.script;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue