[hackers] [scc] Remove unneded abort() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 12 Aug 2015 23:02:34 +0200 (CEST)

commit a5716dd8a6da6a4222bdee14251299e51a92c293
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Aug 12 23:01:44 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Aug 12 23:01:44 2015 +0200

    Remove unneded abort()
    
    This abort() was put in negate() to mark internal errors
    in the compiler, but this test is not needed anymore.

diff --git a/cc1/expr.c b/cc1/expr.c
index 86b1b11..5e525af 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -560,8 +560,6 @@ negate(Node *np)
         case OGE: op = OLT; break;
         case OLE: op = OGT; break;
         case OGT: op = OLE; break;
- default:
- abort();
         }
         np->op = op;
         return np;
Received on Wed Aug 12 2015 - 23:02:34 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 12 2015 - 23:12:12 CEST