diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 16:53:10 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-13 16:53:10 +0200 |
commit | 1cd77d2021c9d22f1fbdbccd8918435ec7c10372 (patch) | |
tree | 695592b3caa8b12cfac750fe25be47cb2a8af5d0 /lisp/cedet/semantic/chart.el | |
parent | 126702a979629212bc067b81a3c71a3299e0a913 (diff) | |
download | emacs-1cd77d2021c9d22f1fbdbccd8918435ec7c10372.tar.gz emacs-1cd77d2021c9d22f1fbdbccd8918435ec7c10372.tar.bz2 emacs-1cd77d2021c9d22f1fbdbccd8918435ec7c10372.zip |
semantic/chart.el compilation warning fixes
* lisp/cedet/semantic/chart.el (semantic/db-typecache)
(semantic/scope): Require to avoid byte compilation warnings about
undefined slots. Remove declare-functions from these packages.
Diffstat (limited to 'lisp/cedet/semantic/chart.el')
-rw-r--r-- | lisp/cedet/semantic/chart.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/cedet/semantic/chart.el b/lisp/cedet/semantic/chart.el index 02da145ca5b..c02588d68b9 100644 --- a/lisp/cedet/semantic/chart.el +++ b/lisp/cedet/semantic/chart.el @@ -29,6 +29,8 @@ (require 'chart) (require 'semantic/db) (require 'semantic/find) +(require 'semantic/db-typecache) +(require 'semantic/scope) ;;; Code: @@ -140,14 +142,9 @@ items are charted. TAGTABLE is passed to nums "Complexity (Lines of code)") )) -(declare-function semanticdb-get-typecache "semantic/db-typecache") -(declare-function semantic-calculate-scope "semantic/scope") - (defun semantic-chart-analyzer () "Chart the extent of the context analysis." (interactive) - (require 'semantic/db-typecache) - (require 'semantic/scope) (let* ((p (semanticdb-find-translate-path nil nil)) (plen (length p)) (tab semanticdb-current-table) |