]> granicus.if.org Git - graphviz/commitdiff
make conditional some vars that are unused when DISABLE_CODEGENS
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:36 +0000 (21:10 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:36 +0000 (21:10 +0000)
lib/gvc/gvrender.c

index 87a43fd238b9c15b9b1db2fc172213e7e74c251d..434a4fff0641bd9199ecd4a5eeaba2e933587be8 100644 (file)
@@ -45,8 +45,10 @@ extern codegen_t PS_CodeGen;
 /* storage for temporary hacks until client API is FP */
 static pointf *AF;
 static int sizeAF;
+#ifndef DISABLE_CODEGENS
 static point *A;
 static int sizeA;
+#endif
 /* end hack */
 
 int gvrender_select(GVJ_t * job, char *str)