1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Removed unused code

git-svn-id: svn://svn.cc65.org/cc65/trunk@1522 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-11-14 22:52:29 +00:00
parent b1cc64faaa
commit ca1386e9d4

View File

@ -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;