From f2bd7f4b517207a928eb2f3e305c674f67ccb962 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 2 Jan 2016 15:22:50 +0000 Subject: [PATCH] Don't add the size parameter to the synthesize method structures as the synthesize methods don't use the size parameter. --- src/libespeak-ng/espeak_command.c | 2 -- src/libespeak-ng/espeak_command.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/libespeak-ng/espeak_command.c b/src/libespeak-ng/espeak_command.c index f5d10997..feadfbc3 100644 --- a/src/libespeak-ng/espeak_command.c +++ b/src/libespeak-ng/espeak_command.c @@ -47,7 +47,6 @@ t_espeak_command *create_espeak_text(const void *text, size_t size, unsigned int data = &(a_command->u.my_text); data->unique_identifier = ++my_current_text_id; data->text = a_text; - data->size = size; data->position = position; data->position_type = position_type; data->end_position = end_position; @@ -117,7 +116,6 @@ t_espeak_command *create_espeak_mark(const void *text, size_t size, const char * data = &(a_command->u.my_mark); data->unique_identifier = ++my_current_text_id; data->text = a_text; - data->size = size; data->index_mark = a_index_mark; data->end_position = end_position; data->flags = flags; diff --git a/src/libespeak-ng/espeak_command.h b/src/libespeak-ng/espeak_command.h index df1901cf..7e5a8fb5 100644 --- a/src/libespeak-ng/espeak_command.h +++ b/src/libespeak-ng/espeak_command.h @@ -44,7 +44,6 @@ typedef enum { typedef struct { unsigned int unique_identifier; void *text; - size_t size; unsigned int position; espeak_POSITION_TYPE position_type; unsigned int end_position; @@ -55,7 +54,6 @@ typedef struct { typedef struct { unsigned int unique_identifier; void *text; - size_t size; const char *index_mark; unsigned int end_position; unsigned int flags;