build: fix some warnings

Reported by John Horigan.
http://lists.gnu.org/archive/html/bug-bison/2015-01/msg00034.html

* src/graphviz.c, src/symtab.h: Address compiler warnings.
This commit is contained in:
Akim Demaille
2015-01-18 15:18:38 +01:00
parent 0ab29b7c20
commit 16832bf546
3 changed files with 4 additions and 3 deletions

View File

@@ -73,12 +73,12 @@ typedef enum
declared,
} status;
typedef enum code_props_type code_props_type;
enum code_props_type
{
destructor = 0,
printer = 1,
};
typedef enum code_props_type code_props_type;
enum { CODE_PROPS_SIZE = 2 };