summaryrefslogtreecommitdiffstats
path: root/apps/plugins/doom/rockdoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/rockdoom.c')
-rw-r--r--apps/plugins/doom/rockdoom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 6ce0e6d38d..1c2777a8ad 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -114,12 +114,11 @@ int printf(const char *fmt, ...)
{
static int p_xtpt;
char p_buf[50];
- bool ok;
rb->yield();
va_list ap;
va_start(ap, fmt);
- ok = vsnprintf(p_buf,sizeof(p_buf), fmt, ap);
+ vsnprintf(p_buf,sizeof(p_buf), fmt, ap);
va_end(ap);
rb->lcd_putsxy(1,p_xtpt, (unsigned char *)p_buf);