drh / lcc

The lcc retargetable ANSI C compiler
https://drh.github.io/lcc/
2.03k stars 442 forks source link

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

Closed orbitcowboy closed 10 years ago

orbitcowboy commented 10 years ago

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;
drh commented 10 years ago

Fixed. Thanks.