From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
Date: Fri, 25 Nov 2011 22:23:31 +0000 (+0400)
Subject: emacs: remove unused variable in `notmuch-show-insert-part-message/rfc822'
X-Git-Tag: 0.11_rc1~54
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=2a349d739b31dcef188d4ccd0aa3054e3316d6c2;p=notmuch-old

emacs: remove unused variable in `notmuch-show-insert-part-message/rfc822'

An obvious cleanup.  I wonder why there was no warning about this
during compilation.
---

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 20259ceb..db691d42 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -519,7 +519,6 @@ current buffer, if possible."
 (defun notmuch-show-insert-part-message/rfc822 (msg part content-type nth depth declared-type)
   (notmuch-show-insert-part-header nth declared-type content-type nil)
   (let* ((message (car (plist-get part :content)))
-	 (headers (plist-get message :headers))
 	 (body (car (plist-get message :body)))
 	 (start (point)))