diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-11-02 18:59:40 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-11-02 19:33:23 +0100 |
commit | ce3f0ce76f59216ff82ecd79e180a5c59d3d60d0 (patch) | |
tree | a0d7618a75c1f9aae4efe2059efb90f8a066b546 /src/calendar.c | |
parent | 7cc6305588acea9c7960abaacf823d62f798f5ba (diff) | |
download | calcurse-ce3f0ce76f59216ff82ecd79e180a5c59d3d60d0.zip |
Make use of the NULL macro
Use this constant everywhere when referring to a null pointer instead of
casting 0 to various types of pointers. Created using following semantic
patch:
@@
type type;
@@
- (type *)0
+ NULL
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calendar.c')
-rw-r--r-- | src/calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendar.c b/src/calendar.c index 179946a..7d54d10 100644 --- a/src/calendar.c +++ b/src/calendar.c @@ -130,7 +130,7 @@ calendar_date_thread (void *arg) calendar_update_panel (&win[CAL]); } - return (void *)0; + return NULL; } /* Launch the calendar date thread. */ |