drh / lcc

The lcc retargetable ANSI C compiler

Home Page:https://drh.github.io/lcc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[PATCH] Cleanup unused variable in src/stmt.c

orbitcowboy opened this issue · comments

Please review the attached patch, it removes an unused variable in src/stmt.c

Best regards and many thanks

Martin Ettl

diff --git a/src/stmt.c b/src/stmt.c
index a591d42..2e2e916 100755
--- a/src/stmt.c
+++ b/src/stmt.c
@@ -38,7 +38,6 @@ Code code(int kind) {
        return cp;
 }
 int reachable(int kind) {
-       Code cp;

        if (kind > Start) {
                Code cp;

Fixed. Thanks.