]> granicus.if.org Git - graphviz/commitdiff
remove unused cdt 'Version'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 13 Aug 2020 03:00:35 +0000 (20:00 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 10 Sep 2020 02:26:50 +0000 (19:26 -0700)
lib/cdt/dtopen.c

index 1a63eebb7c0555d94d6adcf358227d80b0a886cb..b3ee0b6c2361a63bdd1763183aa40d966bd816af 100644 (file)
@@ -1,5 +1,4 @@
 #include       "dthdr.h"
-static char*     Version = "\n@(#)$Id$\0\n";
 
 /*     Make a new dictionary
 **
@@ -8,7 +7,7 @@ static char*     Version = "\n@(#)$Id$\0\n";
 
 Dt_t* dtopen(Dtdisc_t* disc, Dtmethod_t* meth)
 {
-       Dt_t*           dt = (Dt_t*)Version;    /* shut-up unuse warning */
+       Dt_t*           dt;
        int             e;
        Dtdata_t*       data;