emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-opt.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/byte-opt.el
Date: Wed, 16 Nov 2005 17:20:03 -0500

Index: emacs/lisp/emacs-lisp/byte-opt.el
diff -c emacs/lisp/emacs-lisp/byte-opt.el:1.85 
emacs/lisp/emacs-lisp/byte-opt.el:1.86
*** emacs/lisp/emacs-lisp/byte-opt.el:1.85      Wed Nov  2 22:18:32 2005
--- emacs/lisp/emacs-lisp/byte-opt.el   Wed Nov 16 22:20:03 2005
***************
*** 545,551 ****
                                (eq (car-safe (nth 2 last)) 'cdr)
                                (eq (cadr (nth 2 last)) var))))
                    (progn
!                     (byte-compile-warn "`%s' called for effect"
                                         (prin1-to-string (car form)))
                      nil)))
           (byte-compile-log "  %s called for effect; deleted" fn)
--- 545,551 ----
                                (eq (car-safe (nth 2 last)) 'cdr)
                                (eq (cadr (nth 2 last)) var))))
                    (progn
!                     (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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]