Commit d9e3898f authored by Michael Graff's avatar Michael Graff
Browse files

Add explicit element for initializer for flags, rather than spewing warnings.

The flags default to 0, so I set them to explicit 0 for now.
parent 84d79ecd
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: gen.c,v 1.16 1999/03/06 18:38:24 halley Exp $ */
/* $Id: gen.c,v 1.17 1999/04/29 06:10:27 explorer Exp $ */
#include <sys/types.h>
......@@ -409,7 +409,7 @@ main(int argc, char **argv) {
lasttype = 0;
for (tt = types; tt != NULL ; tt = tt->next)
if (tt->type != lasttype)
fprintf(stdout, "\t{ %d, \"%s\" },%s\n",
fprintf(stdout, "\t{ %d, \"%s\", 0 },%s\n",
lasttype = tt->type,
upper(tt->typename),
tt->next != NULL ? " \\" : "");
......@@ -419,7 +419,7 @@ main(int argc, char **argv) {
classes != NULL ? " \\" : "");
for (cc = classes; cc != NULL; cc = cc->next)
fprintf(stdout, "\t{ %d, \"%s\" },%s\n", cc->class,
fprintf(stdout, "\t{ %d, \"%s\", 0 },%s\n", cc->class,
upper(cc->classname),
cc->next != NULL ? " \\" : "");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment