fix warnings and deps
[cyclone68000.git] / Ea.cpp
diff --git a/Ea.cpp b/Ea.cpp
index 77c282b..606e8f4 100644 (file)
--- a/Ea.cpp
+++ b/Ea.cpp
@@ -141,10 +141,8 @@ static int EaCalcReg(int r,int ea,int mask,int forceor,int shift,int noshift=0)
 int EaCalc(int a,int mask,int ea,int size,int top,int sign_extend)\r
 {\r
   char text[32]="";\r
-  int func=0;\r
 \r
   DisaPc=2; DisaGetEa(text,ea,size); // Get text version of the effective address\r
-  func=0x68+(size<<2); // Get correct read handler\r
 \r
   if (ea<0x10)\r
   {\r