aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-10-06 20:39:12 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-10-06 20:39:12 +0200
commit8671e6bfbce1bf4ff71d561d3288ef95c2cca74d (patch)
tree1d51b65855d011ea8568fb315a32de0ecad108cb
parent424f094aaac4b3f01a26fffff87cfdb30a9864a1 (diff)
Declare magit-log-heading-re in magit-diff.el
-rw-r--r--CHANGELOG4
-rw-r--r--lisp/magit-diff.el2
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 52e7599..c2734fb 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 86da796..1b3d568 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" ())