Browse Source

code cleanup: remove setting unread variable.

master
Juho Hiltunen 2 years ago
parent
commit
e5f95289ad
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/libespeak-ng/compiledata.c

+ 1
- 3
src/libespeak-ng/compiledata.c View File

@@ -686,9 +686,7 @@ static int NextItem(CompileContext *ctx, int type)
if ((c == ')') || (c == '(') || (c == ','))
ctx->item_terminator = c;

if ((c == ')') || (c == ','))
c = ' ';
else if (!feof(ctx->f_in))
if (!feof(ctx->f_in) && !(c == ')' || c == ','))
unget_char(ctx, c);

if (type == tSTRING)

Loading…
Cancel
Save