mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
126702a979
commit
1cd77d2021
1 changed files with 2 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue