vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 8cde387079864e7922b968528b517dcb15cd2252
parent 50cfab0fc34f3d122a1fd955e1b343eda4b575f2
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 19 May 2016 15:36:44 +0200

vis-menu: remove unused code

Diffstat:
Mvis-menu.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/vis-menu.c b/vis-menu.c @@ -45,8 +45,6 @@ #define CONTROL(ch) (ch ^ 0x40) #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define MAX(a,b) ((a) > (b) ? (a) : (b)) -#define FALSE 0 -#define TRUE 1 enum Color { C_Normal, @@ -318,8 +316,6 @@ int run(void) { char buf[32]; char c; - FILE *f; - int n; while(1) { read(0, &c, 1);