summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-12-20 01:25:09 +0100
committerChristian Göttsche <cgzones@googlemail.com>2021-03-02 22:03:20 +0100
commitdf818b9904af6141e2f9ba4cfff51886b0dbdf52 (patch)
tree62ad8b9adb9fa16478315dc02645056941fa024b /CRT.c
parenta40347e85b8163d00aad71ef562662d838aea32a (diff)
Use ATTR_UNUSED instead of void casting
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/CRT.c b/CRT.c
index aa115abe..56e9923f 100644
--- a/CRT.c
+++ b/CRT.c
@@ -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);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy