From bbf77d918dac93e1bec7fc90c0b8b34dfb5a8e65 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 3 Mar 2009 18:02:19 -0600 Subject: [PATCH] Cleaned up warnings and adjusted CFLAGS This commit cleans up warnings and adjusts CFLAGS. Thanks to samuel.thibault@ens-lyon.org. --- Makefile | 2 ++ queue.c | 2 ++ softsynth.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3c58274..75097ac 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ INSTALL = install +CFLAGS = -Wall + SRCS = \ cli.c \ espeakup.c \ diff --git a/queue.c b/queue.c index f7640d0..b65ec22 100644 --- a/queue.c +++ b/queue.c @@ -136,6 +136,8 @@ void queue_process_entry(struct synth_t *s) s->len = last->len; error = speak_text(s); break; + default: + break; } if (error == EE_OK) queue_remove(); diff --git a/softsynth.c b/softsynth.c index e1c147b..80bced0 100644 --- a/softsynth.c +++ b/softsynth.c @@ -21,7 +21,9 @@ #include #include #include +#include #include +#include #include "espeakup.h"