]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parse.c
Fix clang warnings
[xonotic/gmqcc.git] / parse.c
diff --git a/parse.c b/parse.c
index 8e7f0a65298730ded7e0bafa3848eb4f84c8b6e0..2d52efdec35e8b14e6c4f4854b6ef669d33e3d9e 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -293,7 +293,7 @@ int parse_gen(struct lex_file *file) {
     lex_reset(file);
     /* free constants */
     {
-               size_t i;
+               size_t i = 0;
                for (; i < compile_constants_elements; i++) {
                        mem_d(compile_constants_data[i].name);
                        mem_d(compile_constants_data[i].string);