]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove an open coded NULL
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Apr 2022 02:01:59 +0000 (19:01 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Apr 2022 20:48:40 +0000 (13:48 -0700)
cmd/smyrna/viewport.c

index cfdf798825e31f4f75b3de37bde533a8728089c4..9ea437765dd5ef8602589aa8679f70f476bde61f 100644 (file)
@@ -385,7 +385,7 @@ void init_viewport(ViewInfo * view)
     view->camera_count = 0;
     view->active_camera = -1;
     set_viewport_settings_from_template(view, view->systemGraphs.def_attrs);
-    view->Topview->Graphdata.GraphFileName = (char *) 0;
+    view->Topview->Graphdata.GraphFileName = NULL;
     view->colschms = NULL;
     view->arcball = NEW(ArcBall_t);
     view->keymap.down=0;