branch: elpa/magit
commit 8671e6bfbce1bf4ff71d561d3288ef95c2cca74d
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Declare magit-log-heading-re in magit-diff.el
---
 CHANGELOG          | 4 ++++
 lisp/magit-diff.el | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG b/CHANGELOG
index 52e7599f004..c2734fb5342 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,8 @@
 # -*- mode: org -*-
+* v4.4.2    UNRELEASED
+
+- Addressed harmless compiler warning.
+
 * v4.4.1    2025-10-06
 
 - Added new option ~magit-log-trailer-labels~.  #5432
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 86da7965e23..1b3d568c5aa 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -42,6 +42,8 @@
 ;; For `magit-diff-visit-file'
 (declare-function magit-find-file-noselect "magit-files" (rev file &optional 
revert))
 (declare-function magit-status-setup-buffer "magit-status" (&optional 
directory))
+;; For `magit-diff-wash-diff'
+(defvar magit-log-heading-re)
 ;; For `magit-diff-while-committing'
 (declare-function magit-commit-diff-1 "magit-commit" ())
 (declare-function magit-commit-message-buffer "magit-commit" ())

Reply via email to