From 00700db30bb89dd89ae7a6558c94fe72c6f16343 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 22 Feb 2016 16:54:12 +0100 Subject: remove unused function cmd() --- main.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index a7fc234..66e3402 100644 --- a/main.c +++ b/main.c @@ -34,8 +34,6 @@ static const char *mark_set(Vis*, const char *keys, const Arg *arg); static const char *openline(Vis*, const char *keys, const Arg *arg); /* join lines from current cursor position to movement indicated by arg */ static const char *join(Vis*, const char *keys, const Arg *arg); -/* execute arg->s as if it was typed on command prompt */ -static const char *cmd(Vis*, const char *keys, const Arg *arg); /* perform last action i.e. action_prev again */ static const char *repeat(Vis*, const char *keys, const Arg *arg); /* replace character at cursor with one from keys */ @@ -1598,11 +1596,6 @@ static const char *insert_verbatim(Vis *vis, const char *keys, const Arg *arg) { return keys; } -static const char *cmd(Vis *vis, const char *keys, const Arg *arg) { - vis_cmd(vis, arg->s); - return keys; -} - static int argi2lines(Vis *vis, const Arg *arg) { int count = vis_count_get(vis); switch (arg->i) { -- cgit v1.2.3