aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman2005-11-16 22:20:03 +0000
committerRichard M. Stallman2005-11-16 22:20:03 +0000
commit9d8684ddf308d01abb226e0ef66a0d46578818ac (patch)
tree140934bfe5603057545bd6b43b411297ec5ddd26 /lisp
parentf6fbc344c116e4a7edb2bf49f77a75d7b19681e9 (diff)
downloademacs-9d8684ddf308d01abb226e0ef66a0d46578818ac.tar.gz
emacs-9d8684ddf308d01abb226e0ef66a0d46578818ac.zip
(byte-optimize-form-code-walker): Improve warning message text.
Diffstat (limited to '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 @@
545 (eq (car-safe (nth 2 last)) 'cdr) 545 (eq (car-safe (nth 2 last)) 'cdr)
546 (eq (cadr (nth 2 last)) var)))) 546 (eq (cadr (nth 2 last)) var))))
547 (progn 547 (progn
548 (byte-compile-warn "`%s' called for effect" 548 (byte-compile-warn "value returned by `%s' is not used"
549 (prin1-to-string (car form))) 549 (prin1-to-string (car form)))
550 nil))) 550 nil)))
551 (byte-compile-log " %s called for effect; deleted" fn) 551 (byte-compile-log " %s called for effect; deleted" fn)