diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-05-16 20:14:22 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-05-16 20:14:22 +0200 |
| commit | 0f03cc378e6ce48f17a20e409f93bfc11345a6ed (patch) | |
| tree | f4768c6fe96e1ac2a9c5833dee897924300d4a45 /src/blind-translate.c | |
| parent | Add blind-tempral-mean (diff) | |
| download | blind-0f03cc378e6ce48f17a20e409f93bfc11345a6ed.tar.gz blind-0f03cc378e6ce48f17a20e409f93bfc11345a6ed.tar.bz2 blind-0f03cc378e6ce48f17a20e409f93bfc11345a6ed.tar.xz | |
Fix errors and warnings and make the code cleaner
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-translate.c')
| -rw-r--r-- | src/blind-translate.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/blind-translate.c b/src/blind-translate.c index 6b0ebd8..a8d1a8d 100644 --- a/src/blind-translate.c +++ b/src/blind-translate.c @@ -1,8 +1,5 @@ /* See LICENSE file for copyright and license details. */ -#include "stream.h" -#include "util.h" - -#include <string.h> +#include "common.h" USAGE("[-wp] translation-stream") @@ -59,7 +56,6 @@ process_frame(struct stream *stream, char *buf, size_t above, size_t below, size return 1; eof: eprintf("%s: file is shorter than expected\n", stream->file); - return 0; } static void |
