shithub: mc

Download patch

ref: c5c9df2188a6332b1c637ff56a157c881a981ff8
parent: f9508b270a1f17ee8408e636f1631a24e662ae2c
author: Ori Bernstein <[email protected]>
date: Thu Aug 21 20:06:58 EDT 2014

Remove bogus test.

    dcl should never be null, and if it is, we probably already
    crashed.

--- a/parse/infer.c
+++ b/parse/infer.c
@@ -1426,7 +1426,7 @@
                 break;
             }
         }
-        if (!dcl || !proto)
+        if (!proto)
             fatal(n->line, "Declaration %s missing in %s, near %s\n",
                   namestr(dcl->decl.name), namestr(t->name), ctxstr(st, n));