commit 5c8ed5dbe722b706e462c26396a9b3484ec15234 parent e69da648bad3180ae7cf05fa079f27e5534c673d Author: Nihal Jere <nihal@nihaljere.xyz> Date: Sun, 26 Dec 2021 21:58:12 -0600 parse: remove unused function findparam Diffstat:
M | parse.c | | | 14 | -------------- |
1 file changed, 0 insertions(+), 14 deletions(-)
diff --git a/parse.c b/parse.c @@ -41,20 +41,6 @@ finddecl(struct slice s) return NULL; } -struct nametype * -findparam(struct nametypes *params, struct slice s) -{ - struct nametype *param; - for (int i = 0; i < params->len; i++) { - param = &(params->data[i]); - if (slice_cmp(&s, ¶m->name) == 0) { - return param; - } - } - - return NULL; -} - static void expect(enum tokentype type) {