Fix z80-coff build breakage
authorAlan Modra <amodra@gmail.com>
Wed, 12 Nov 2014 04:30:01 +0000 (15:00 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 12 Nov 2014 04:35:30 +0000 (15:05 +1030)
* config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.

gas/ChangeLog
gas/config/tc-z80.c

index 6fd80b6ac9bf298f36f7919ff93bb3badc0caeb4..b3af338274574d2a86494709dce9c75a963c3d42 100644 (file)
@@ -1,3 +1,7 @@
+2014-11-12  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
+
 2014-11-12  Alan Modra  <amodra@gmail.com>
 
        PR ld/17482
index 54fa322c0283ddb3cc527989514f0464ecdfd63c..a602dc744e664fdf74f01557f04fdabab9c8932e 100644 (file)
@@ -557,6 +557,8 @@ parse_exp_not_indexed (const char *s, expressionS *op)
     case O_illegal:
       error (_("bad expression syntax"));
       break;
+    default:
+      break;
     }
   return input_line_pointer;
 }
@@ -604,6 +606,8 @@ parse_exp (const char *s, expressionS *op)
          op->X_op = O_md1;
        }
        break;
+    default:
+      break;
     }
   return res;
 }
This page took 0.026574 seconds and 4 git commands to generate.