diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 23:54:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-30 23:54:34 -0700 |
commit | d79d222a45561055e6a353a6a3065f8d5700c42f (patch) | |
tree | 1b55aea9f4e4cb66f6059ebda07f091b30b8eb1d | |
parent | 8eab871e557bcd0666f0a002330c9465463dd8f3 (diff) | |
download | uemacs-d79d222a45561055e6a353a6a3065f8d5700c42f.tar.gz |
Fix up unused variable and ambiguous else in random.c
-rw-r--r-- | random.c | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -43,18 +43,6 @@ int showcpos(int f, int n) int savepos; /* temp save for current offset */ int ecol; /* column pos/end of current line */ -#if PKCODE - struct { - int pk_clin; - int pk_tlin; - int pk_ccol; - int pk_tcol; - long pk_cchr; - long pk_tchr; - int pk_perc; - int pk_char; - } pk_mlrec; -#endif /* starting at the beginning of the buffer */ lp = lforw(curbp->b_linep); @@ -331,7 +319,7 @@ int entab(int f, int n) ccol = 0; while (curwp->w_doto < llength(curwp->w_dotp)) { /* see if it is time to compress */ - if ((fspace >= 0) && (nextab(fspace) <= ccol)) + if ((fspace >= 0) && (nextab(fspace) <= ccol)) { if (ccol - fspace < 2) fspace = -1; else { @@ -343,6 +331,7 @@ int entab(int f, int n) linsert(1, '\t'); fspace = -1; } + } /* get the current character */ cchar = lgetc(curwp->w_dotp, curwp->w_doto); |