diff options
Diffstat (limited to 'ncurses/tty/lib_vidattr.c')
-rw-r--r-- | ncurses/tty/lib_vidattr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ncurses/tty/lib_vidattr.c b/ncurses/tty/lib_vidattr.c index 15e7397d5dbb..2c7a0b27bd6d 100644 --- a/ncurses/tty/lib_vidattr.c +++ b/ncurses/tty/lib_vidattr.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 2018-2020,2023 Thomas E. Dickey * * Copyright 1998-2014,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -70,7 +70,7 @@ #define CUR SP_TERMTYPE #endif -MODULE_ID("$Id: lib_vidattr.c,v 1.78 2020/05/27 23:56:32 tom Exp $") +MODULE_ID("$Id: lib_vidattr.c,v 1.79 2023/04/28 20:59:26 tom Exp $") #define doPut(mode) \ TPUTS_TRACE(#mode); \ @@ -249,6 +249,7 @@ NCURSES_SP_NAME(vidputs) (NCURSES_SP_DCLx TurnOff(A_ITALIC, exit_italics_mode); } #endif + (void) turn_off; } PreviousAttr &= ALL_BUT_COLOR; } @@ -278,6 +279,7 @@ NCURSES_SP_NAME(vidputs) (NCURSES_SP_DCLx } else if (turn_off & A_ITALIC) { TurnOff(A_ITALIC, exit_italics_mode); } + (void) turn_off; } #endif SetColorsIf((pair != 0) || fix_pair0, PreviousAttr); |