]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/trim_sgr0.c
ncurses 5.7 - patch 20100515
[ncurses.git] / ncurses / tinfo / trim_sgr0.c
index 446679a77f4864b2c5bf1bac06392ae37313273a..5f7b9b3383fec76e46e80f6f798100367787c343 100644 (file)
@@ -35,9 +35,8 @@
 #include <ctype.h>
 
 #include <tic.h>
-#include <term_entry.h>
 
-MODULE_ID("$Id: trim_sgr0.c,v 1.9 2010/01/16 16:45:13 tom Exp $")
+MODULE_ID("$Id: trim_sgr0.c,v 1.11 2010/05/01 19:33:31 tom Exp $")
 
 #undef CUR
 #define CUR tp->
@@ -286,7 +285,7 @@ _nc_trim_sgr0(TERMTYPE *tp)
                        if (off[i - 1] == ';')
                            i--;
                        j = (size_t) (skip_zero(tmp + 1) - off);
-                       i = chop_out(off, i, j);
+                       (void) chop_out(off, i, j);
                        found = TRUE;
                    }
                }