From 02445fc305257a4d6bacf8bbdb188189febae61c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 3 Aug 2016 00:15:06 +0100 Subject: [PATCH] Add some missing breaks (thanks coverity) --- caca/codec/text.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caca/codec/text.c b/caca/codec/text.c index d26a626..9c0c9c7 100644 --- a/caca/codec/text.c +++ b/caca/codec/text.c @@ -302,6 +302,7 @@ ssize_t _import_ansi(caca_canvas_t *cv, void const *data, size_t size, int utf8) caca_put_char(cv, j, y, ' '); caca_set_attr(cv, savedattr); #endif + break; case 'X': /* ECH (0x58) - Erase Character */ if(argc && argv[0]) { @@ -310,6 +311,7 @@ ssize_t _import_ansi(caca_canvas_t *cv, void const *data, size_t size, int utf8) caca_draw_line(cv, x, y, x + argv[0] - 1, y, ' '); caca_set_attr(cv, savedattr); } + break; case 'd': /* VPA (0x64) - Line Position Absolute */ y = (argc && argv[0] > 0) ? argv[0] - 1 : 0; break;