artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f07412
)
One minor scan-build warning
author
jca
<jca@openbsd.org>
Tue, 16 Jan 2018 17:17:18 +0000
(17:17 +0000)
committer
jca
<jca@openbsd.org>
Tue, 16 Jan 2018 17:17:18 +0000
(17:17 +0000)
emacs.c:1041:2: warning: Value stored to 'cp' is never read
bin/ksh/emacs.c
patch
|
blob
|
history
diff --git
a/bin/ksh/emacs.c
b/bin/ksh/emacs.c
index
4c591e2
..
b88219d
100644
(file)
--- a/
bin/ksh/emacs.c
+++ b/
bin/ksh/emacs.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: emacs.c,v 1.8
3 2018/01/14 16:04:21 anton Exp $
*/
+/* $OpenBSD: emacs.c,v 1.8
4 2018/01/16 17:17:18 jca Exp $
*/
/*
* Emacs-like command line editing and history
@@
-1038,7
+1038,7
@@
x_redraw(int limit)
x_displen = xx_cols - 2;
}
xlp_valid = false;
-
cp =
x_lastcp();
+ x_lastcp();
x_zots(xbp);
if (xbp != xbuf || xep > xlp)
limit = xx_cols;