Commit 9dbedb02cc

Josh Wolfe <thejoshwolfe@gmail.com>
2015-12-14 18:31:32
fix compile -Werrors
1 parent 630917b
Changed files (2)
src/analyze.cpp
@@ -654,6 +654,7 @@ static bool num_lit_fits_in_other_type(CodeGen *g, TypeTableEntry *literal_type,
                 return false;
             }
     }
+    zig_unreachable();
 }
 
 
src/parser.cpp
@@ -701,6 +701,11 @@ static void parse_number_literal(ParseContext *pc, Token *token, AstNodeNumberLi
         double x;
 
         (void)x;
+        (void)decimal_end;
+        (void)e_present;
+        (void)e_positive;
+        (void)e_digit_start;
+        (void)e_digit_end;
         zig_panic("TODO parse float");
     } else {
         // integer