]> code.delx.au - gnu-emacs/commitdiff
(byte-optimize-form-code-walker): Improve warning message text.
authorRichard M. Stallman <rms@gnu.org>
Wed, 16 Nov 2005 22:20:03 +0000 (22:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 16 Nov 2005 22:20:03 +0000 (22:20 +0000)
lisp/emacs-lisp/byte-opt.el

index 8711a05e2d96c38d0df948593037c3ca3183604f..b46366a94b97d66d06226cec93c65be7de334d6c 100644 (file)
                                (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)