forked from len0rd/rockbox
voice: Silence a runtime warning when generating talkclips
Change-Id: I9d95377654d8883315657a1eff11ff198df9a41b
This commit is contained in:
parent
54333536fe
commit
5e8d3fec66
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ $ENV{'PATH'} = dirname($0) . ':' . $ENV{'PATH'};
|
||||||
my $tts_object = init_tts($s, $S, $l);
|
my $tts_object = init_tts($s, $S, $l);
|
||||||
|
|
||||||
# Do what we're told
|
# Do what we're told
|
||||||
if ($V == 1) {
|
if (defined($V) && $V == 1) {
|
||||||
# Only do the panic cleanup for voicefiles
|
# Only do the panic cleanup for voicefiles
|
||||||
$SIG{INT} = \&panic_cleanup;
|
$SIG{INT} = \&panic_cleanup;
|
||||||
$SIG{KILL} = \&panic_cleanup;
|
$SIG{KILL} = \&panic_cleanup;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue