summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:22:25 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:22:25 -0700
commitbde0b06b465adb868d38d3721b95ea337bad8eb9 (patch)
treec02be677c43ec5e61134aaa17d2ac4890d089477 /src
parent2f5d1e29f5a803ba2417d6fe20782c05ed932612 (diff)
Mark Done() as _X_NORETURN
list.c:103:11: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'nptr') nptr->next = *list_head; ~~~~ ^ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/twm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/twm.h b/src/twm.h
index 6e2bb27..1a546a3 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -353,7 +353,7 @@ extern void InitVariables ( void );
extern void CreateFonts ( void );
extern void RestoreWithdrawnLocation ( TwmWindow *tmp );
extern void Reborder( Time time);
-extern void Done( XtPointer, XtSignalId * );
+extern void Done( XtPointer, XtSignalId * ) _X_NORETURN;
extern void ComputeCommonTitleOffsets ( void );
extern void ComputeTitleLocation ( TwmWindow *tmp );
extern void ComputeWindowTitleOffsets ( TwmWindow *tmp_win, int width, Bool squeeze );