]> granicus.if.org Git - graphviz/commit
remove unnecessary casts of malloc() return value
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 22 Oct 2020 00:03:54 +0000 (17:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 29 Oct 2020 00:13:11 +0000 (17:13 -0700)
commite33fdf6d35f379bf53dc9656d07efba46077a617
treeb0ae859913a8e8d3345dabaea20f72733ac8ae61
parent11f9b44f85e0c4c3a4685ebf2ea404c823643dcb
remove unnecessary casts of malloc() return value

malloc returns a void* which, in C, implicitly coerces to every other pointer
type.
55 files changed:
cmd/smyrna/polytess.c
cmd/smyrna/viewport.c
cmd/tools/bcomps.c
cmd/tools/ccomps.c
cmd/tools/gc.c
cmd/tools/graphml2gv.c
cmd/tools/gv2gxl.c
cmd/tools/gvcolor.c
cmd/tools/gxl2gv.c
cmd/tools/matrix_market.c
cmd/tools/mmio.c
cmd/tools/sccmap.c
cmd/tools/tred.c
contrib/prune/generic_list.c
contrib/prune/prune.c
doc/libgraph/sccmap.c
lib/cdt/dtopen.c
lib/cdt/dtstat.c
lib/cgraph/agerror.c
lib/cgraph/refstr.c
lib/common/routespl.c
lib/glcomp/glcompfont.c
lib/gvpr/actions.c
lib/gvpr/mkdefs.c
lib/ingraphs/ingraphs.c
lib/label/node.c
lib/neatogen/matrix_ops.c
lib/pathplan/route.c
lib/pathplan/shortest.c
lib/pathplan/shortestpth.c
lib/pathplan/util.c
lib/pathplan/visibility.c
lib/rbtree/test_red_black_tree.c
lib/sfio/sfcvt.c
lib/sfio/sfexcept.c
lib/sfio/sfexit.c
lib/sfio/sfmode.c
lib/sfio/sfnew.c
lib/sfio/sfsetbuf.c
lib/sfio/sfswap.c
lib/sfio/sftable.c
lib/sfio/sftmp.c
lib/sfio/sfungetc.c
lib/sfio/sfvprintf.c
lib/sfio/sfvscanf.c
plugin/core/gvrender_core_dot.c
plugin/glitz/gvdevice_glitz.c
plugin/gs/gvloadimage_gs.c
plugin/pango/gvgetfontlist_pango.c
plugin/xlib/gvdevice_xlib.c
tclpkg/tcldot/tcldot-id.c
tclpkg/tclhandle/tclhandle.c
tclpkg/tclpathplan/find_ints.c
tclpkg/tclpathplan/tclpathplan.c
tclpkg/tclpathplan/wrapper.c