From: Paul Ramsey Date: Mon, 29 Jun 2015 17:44:21 +0000 (+0000) Subject: Remove comment X-Git-Tag: 2.2.0rc1~290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=789793ce1de232b6d6391b473de470832295fa18;p=postgis Remove comment git-svn-id: http://svn.osgeo.org/postgis/trunk@13748 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwin_wkt_lex.c b/liblwgeom/lwin_wkt_lex.c index 9ef57c358..073b7d116 100644 --- a/liblwgeom/lwin_wkt_lex.c +++ b/liblwgeom/lwin_wkt_lex.c @@ -2024,7 +2024,6 @@ static int yy_flex_strlen (yyconst char * s ) - void *wkt_yyalloc (yy_size_t size ) { return (void *) lwalloc( size ); @@ -2032,13 +2031,6 @@ void *wkt_yyalloc (yy_size_t size ) void *wkt_yyrealloc (void * ptr, yy_size_t size ) { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ return (void *) lwrealloc( (char *) ptr, size ); }