From ca1386e9d499a108199a247799ebce9fa3366906 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 14 Nov 2002 22:52:29 +0000 Subject: [PATCH] Removed unused code git-svn-id: svn://svn.cc65.org/cc65/trunk@1522 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/expr.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/cc65/expr.c b/src/cc65/expr.c index d60d1ac15..c9b00efef 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -2631,9 +2631,6 @@ static int hieQuest (ExprDesc *lval) type* type2; /* Type of expression 2 */ type* type3; /* Type of expression 3 */ type* rtype; /* Type of result */ - CodeMark Mark1; /* Save position in output code */ - CodeMark Mark2; /* Save position in output code */ - k = Preprocessing? hieOrPP (lval) : hieOr (lval); @@ -2692,14 +2689,12 @@ static int hieQuest (ExprDesc *lval) * the type cast code for expr2. */ labf = GetLocalLabel (); /* Get new label */ - Mark1 = GetCodePos (); /* Remember current position */ g_jump (labf); /* Jump around code */ /* The jump for expr2 goes here */ g_defcodelabel (labt); /* Create the typecast code for expr2 */ - Mark2 = GetCodePos (); /* Remember position */ g_typecast (TypeOf (rtype), TypeOf (type2)); /* Jump here around the typecase code. */ @@ -2709,7 +2704,7 @@ static int hieQuest (ExprDesc *lval) } else if (IsClassPtr (type2) && IsClassPtr (type3)) { /* Must point to same type */ if (TypeCmp (Indirect (type2), Indirect (type3)) < TC_EQUAL) { - Error ("Incompatible pointer types"); + Error ("Incompatible pointer types"); } /* Result has the common type */ rtype = lval2.Type; -- 2.39.5