I must have been braindead
[fw/sdcc] / src / SDCCicode.c
index a94d664f9d2e9aaea0fdbd3e9d4971d3be984a30..cc65ac066028318a58201eaa772154e872c304c3 100644 (file)
@@ -1521,10 +1521,13 @@ operandFromAst (ast * tree,int lvl)
 
     case EX_LINK:
       return operandFromLink (tree->opval.lnk);
-    }
+      break;
 
-  assert (0);
-  /*  Just to keep the comiler happy */
+    default:
+      assert (0);
+    }
+  
+  /*  Just to keep the compiler happy */
   return (operand *) 0;
 }