# HG changeset patch # User Richard M. Stallman # Date 1132179603 0 # Node ID 863620478661332a8a2f57d763c4ba29aa179b68 # Parent 917a63a49adf7f02679789d9ca98861db6f83879 (byte-optimize-form-code-walker): Improve warning message text. diff -r 917a63a49adf -r 863620478661 lisp/emacs-lisp/byte-opt.el --- a/lisp/emacs-lisp/byte-opt.el Wed Nov 16 22:18:46 2005 +0000 +++ b/lisp/emacs-lisp/byte-opt.el Wed Nov 16 22:20:03 2005 +0000 @@ -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)