dtcm: NULL is not 0
authorJon Trulson <jon@radscan.com>
Sat, 26 May 2018 19:13:13 +0000 (13:13 -0600)
committerJon Trulson <jon@radscan.com>
Fri, 1 Jun 2018 04:23:19 +0000 (22:23 -0600)
cde/programs/dtcm/dtcm/browser.c
cde/programs/dtcm/dtcm/calendarA.c
cde/programs/dtcm/dtcm/find.c

index da573a7c8fe7cd671181e0ae682d76217387ca11..75fe69a13366133f0d73262e4617d1fd2e616494 100644 (file)
@@ -1098,10 +1098,10 @@ register_names(char *name, Calendar *c)
        BlistData       *bd = NULL;
         Browselist     *bl = (Browselist *)c->browselist;
         CSA_return_code        stat;
-       CSA_session_handle      cal = NULL;
+       CSA_session_handle      cal = 0;
        unsigned int            user_access;
        CSA_calendar_user       csa_user;
-       CSA_flags               flags = NULL;
+       CSA_flags               flags = 0;
        CSA_extension           cb_ext;
        CSA_extension           logon_ext;
        char                    buf[BUFSIZ];
index 8e73e752fe91fc4223b3f0b47dc246b06e8c0463..ecb32f8a6b9fb37f94c02b1df6e33e945b1b33d8 100644 (file)
@@ -2224,7 +2224,7 @@ open_initial_calendar(
        CSA_return_code *status)
 {
        char            buf[MAXNAMELEN], *loc, *user;
-       CSA_flags       flags = NULL;
+       CSA_flags       flags = 0;
        CSA_extension   cb_ext;
        CSA_extension   logon_ext;
        CSA_calendar_user csa_user;
@@ -3196,7 +3196,7 @@ switch_it(Calendar *c, char *new_calendar, WindowType win)
        if (new_cal_handle != c->my_cal_handle) {
 
 
-               CSA_flags       flags = NULL;
+               CSA_flags       flags = 0;
                CSA_extension   cb_ext;
 
                flags = CSA_CB_ENTRY_ADDED | CSA_CB_ENTRY_DELETED |
index 0db05d875f1de641e7bf32343a34cb0a2a76bd5c..6b767c16aa740bea8213f6946616366eb3169b4c 100644 (file)
@@ -574,7 +574,7 @@ XmPushButtonCallbackStruct *cbs;
         pr_pos xy;
        Tick end_of_time, start, stop;
        Tick_list *ptr, *next_ptr, *tail_ptr, *new_tick;
-       CSA_session_handle cal = NULL;
+       CSA_session_handle cal = 0;
        CSA_return_code stat;
         CSA_entry_handle *entries = NULL;
        CSA_enum *ops;