summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-11-16 22:20:03 +0000
committerRichard M. Stallman <rms@gnu.org>2005-11-16 22:20:03 +0000
commit9d8684ddf308d01abb226e0ef66a0d46578818ac (patch)
tree140934bfe5603057545bd6b43b411297ec5ddd26 /lisp/emacs-lisp
parentf6fbc344c116e4a7edb2bf49f77a75d7b19681e9 (diff)
downloademacs-9d8684ddf308d01abb226e0ef66a0d46578818ac.tar.gz
(byte-optimize-form-code-walker): Improve warning message text.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/byte-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 8711a05e2d9..b46366a94b9 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -545,7 +545,7 @@
(eq (car-safe (nth 2 last)) 'cdr)
(eq (cadr (nth 2 last)) var))))
(progn
- (byte-compile-warn "`%s' called for effect"
+ (byte-compile-warn "value returned by `%s' is not used"
(prin1-to-string (car form)))
nil)))
(byte-compile-log " %s called for effect; deleted" fn)