From 9d8684ddf308d01abb226e0ef66a0d46578818ac Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 16 Nov 2005 22:20:03 +0000 Subject: [PATCH] (byte-optimize-form-code-walker): Improve warning message text. --- lisp/emacs-lisp/byte-opt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2