Use ATTR_UNUSED instead of void casting

This commit is contained in:
Christian Göttsche
2020-12-20 01:25:09 +01:00
parent a40347e85b
commit df818b9904
4 changed files with 4 additions and 9 deletions

3
CRT.c
View File

@ -652,8 +652,7 @@ int CRT_scrollWheelVAmount = 10;
ColorScheme CRT_colorScheme = COLORSCHEME_DEFAULT;
ATTR_NORETURN
static void CRT_handleSIGTERM(int sgn) {
(void) sgn;
static void CRT_handleSIGTERM(ATTR_UNUSED int sgn) {
CRT_done();
_exit(0);
}