diff options
author | Pekka Enberg <penberg@kernel.org> | 2010-11-14 22:42:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-14 15:21:47 -0800 |
commit | 72a1af4d91a36516e9c7642368ab35fba28cc25c (patch) | |
tree | 0c5b9bf61c9306e2cc19a4cbda458c8e3f7397a8 | |
parent | 6ceea8ba9b06c89cd0fd8342f9248d5ca2ff7563 (diff) | |
download | uemacs-72a1af4d91a36516e9c7642368ab35fba28cc25c.tar.gz |
uemacs: Kill dead code
This patch kills #ifdef'd code from display.c and file.c.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | display.c | 22 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 0 insertions, 26 deletions
@@ -763,16 +763,6 @@ static int scrolls(int inserts) from = match; to = target; } -#if 0 - { - char line[NLINE]; - sprintf(line, - "scrolls: move the %d lines starting at %d to %d, first %d, scrolls %d", - count, from, to, first, - 2 * count >= abs(from - to)); - mlwrite(line); - } -#endif if (2 * count < abs(from - to)) return FALSE; scrscroll(from, to, count); @@ -1173,18 +1163,6 @@ static void modeline(struct window *wp) ++n; } -#if 0 - vtputc(lchar); - vtputc((wp->w_flag & WFCOLR) != 0 ? 'C' : lchar); - vtputc((wp->w_flag & WFMODE) != 0 ? 'M' : lchar); - vtputc((wp->w_flag & WFHARD) != 0 ? 'H' : lchar); - vtputc((wp->w_flag & WFEDIT) != 0 ? 'E' : lchar); - vtputc((wp->w_flag & WFMOVE) != 0 ? 'V' : lchar); - vtputc((wp->w_flag & WFFORCE) != 0 ? 'F' : lchar); - vtputc(lchar); - n += 8; -#endif - #if PKCODE if (bp->b_fname[0] != 0 && strcmp(bp->b_bname, bp->b_fname) != 0) #else @@ -311,10 +311,6 @@ int readin(char *fname, int lockfl) } if (s == FIOERR || s == FIOFNF) /* False if error. */ return FALSE; -#if 0 - if (s == ABORT) - return ABORT; -#endif return TRUE; } |