]> granicus.if.org Git - graphviz/commit
remove unnecessary casts of calloc() return value
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Oct 2020 00:04:26 +0000 (17:04 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:13:11 +0000 (17:13 -0700)
commit6df57a4e8bbc383f5844cdd9a9dd25d349714def
tree4ead45b3edb96d43fa11a8ce78d36af419a14118
parente33fdf6d35f379bf53dc9656d07efba46077a617
remove unnecessary casts of calloc() return value

calloc returns a void* which, in C, implicitly coerces to every other pointer
type.
14 files changed:
cmd/tools/ccomps.c
cmd/tools/gc.c
cmd/tools/gml2gv.c
cmd/tools/graph_generator.c
cmd/tools/graphml2gv.c
cmd/tools/gv2gxl.c
cmd/tools/gxl2gv.c
cmd/tools/tred.c
lib/cgraph/agxbuf.c
lib/common/ellipse.c
lib/pathplan/visibility.c
lib/xdot/xdot.c
plugin/core/gvrender_core_json.c
plugin/pango/gvgetfontlist_pango.c