1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(byte-optimize-form-code-walker): Improve warning message text.

This commit is contained in:
Richard M. Stallman 2005-11-16 22:20:03 +00:00
parent f6fbc344c1
commit 9d8684ddf3

View File

@ -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)