emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/d-mode 8a14ce4 080/346: Fix some compiler warnings.


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 8a14ce4 080/346: Fix some compiler warnings.
Date: Sun, 29 Aug 2021 11:00:07 -0400 (EDT)

branch: elpa/d-mode
commit 8a14ce426d27380a611cfdb8ca67cd31fc9e5406
Author: Dmitri Makarov <dmakarov@alumni.stanford.edu>
Commit: Dmitri Makarov <dmakarov@alumni.stanford.edu>

    Fix some compiler warnings.
---
 d-mode.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/d-mode.el b/d-mode.el
index ac613d8..f40949d 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -82,6 +82,11 @@
   ;; constants are evaluated then.
   (c-add-language 'd-mode 'java-mode))
 
+;; muffle the warnings about using free variables and undefined
+;; functions
+(defvar c-syntactic-element)
+(declare-function c-populate-syntax-table "cc-langs.el" (table))
+
 ;; D has pointers
 (c-lang-defconst c-type-decl-prefix-key
   d (concat "\\("



reply via email to

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