From: Matthew Fernandez Date: Mon, 6 Sep 2021 18:25:12 +0000 (-0700) Subject: tcldot-io.c: remove commented out code X-Git-Tag: 2.49.1~31^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9e394f732a9b5a9c5d61283a671ec0a77f411a2;p=graphviz tcldot-io.c: remove commented out code --- diff --git a/tclpkg/tcldot/tcldot-io.c b/tclpkg/tcldot/tcldot-io.c index 18ab588f0..bf047be1f 100644 --- a/tclpkg/tcldot/tcldot-io.c +++ b/tclpkg/tcldot/tcldot-io.c @@ -102,21 +102,3 @@ int myiodisc_memiofread(void *chan, char *buf, int bufsize) s->cur += l; return l; } - -#if 0 -Agraph_t *agread_usergets (ictx_t *ictx, FILE * fp, int (*usergets)(void *chan, char *buf, int bufsize)) -{ - Agraph_t* g; - Agiodisc_t ioDisc; - - ioDisc.afread = usergets; - ioDisc.putstr = AgIoDisc.putstr; - ioDisc.flush = AgIoDisc.flush; - - ictx->mydisc.io = &ioDisc; - g = agread (fp, (Agdisc_t *)ictx); - ictx->mydisc.io = &AgIoDisc; /* restore io */ - return g; -} - -#endif