]> granicus.if.org Git - graphviz/commitdiff
sfio: remove open coded 'NULL'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 20 Apr 2022 04:45:31 +0000 (21:45 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Apr 2022 01:15:24 +0000 (18:15 -0700)
Gitlab: #1998

lib/sfio/sfsync.c

index 5e8262484e5f5d1dcdad859ba6d7e72d6989bff1..eca3c82f0d4df569810fd6bd344086c93ccca580 100644 (file)
@@ -136,8 +136,7 @@ int sfsync(Sfio_t * f)
        SFOPEN(f, local);
 
        if ((f->flags & SF_IOCHECK) && f->disc && f->disc->exceptf)
-           (void) (*f->disc->exceptf) (f, SF_SYNC, (void *) ((int) 0),
-                                       f->disc);
+           (void) (*f->disc->exceptf) (f, SF_SYNC, NULL, f->disc);
     }
 
   done: