]> granicus.if.org Git - graphviz/commitdiff
removed redundant memset after N_NEW of didset field [emdengansner]
authorglenlow <devnull@localhost>
Tue, 26 Feb 2008 03:35:43 +0000 (03:35 +0000)
committerglenlow <devnull@localhost>
Tue, 26 Feb 2008 03:35:43 +0000 (03:35 +0000)
lib/graph/edge.c

index 522e5179bf0c07e7539e0070d741efce09f4a21c..2aa2126b169ddf1bd0f2d034f22627e08c1dfca1 100644 (file)
@@ -211,7 +211,6 @@ Agedge_t *agNEWedge(Agraph_t * subg, Agnode_t * tail, Agnode_t * head,
     if (nobj) {
                e->attr = N_NEW(nobj, char *);
                e->didset = N_NEW((nobj + CHAR_BIT - 1) / CHAR_BIT, char);
-               memset(e->didset, 0, (nobj + CHAR_BIT - 1) / CHAR_BIT);
        }
     else {
                e->attr = NULL;