branch: externals/phpinspect
commit 55954aba649a4738df9993f1adb9487895a8d7ae
Author: Hugo Thunnissen <de...@hugot.nl>
Commit: Hugo Thunnissen <de...@hugot.nl>

    Fix compilation warnings
---
 phpinspect-project.el | 4 ++--
 phpinspect-resolve.el | 4 ++--
 phpinspect-type.el    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/phpinspect-project.el b/phpinspect-project.el
index 582b7bbbff..3e02bb1357 100644
--- a/phpinspect-project.el
+++ b/phpinspect-project.el
@@ -122,8 +122,8 @@ serious performance hits. Enable at your own risk (:")
 
       indexed)))
 
-(cl-defmethod phpinspect-project-add-index ((_project phpinspect-project) 
_index)
-  (cl-assert (not _index))
+(cl-defmethod phpinspect-project-add-index ((_project phpinspect-project) 
index)
+  (cl-assert (not index))
   (phpinspect--log "phpinspect-project-add-index: ignoring added nil index"))
 
 (cl-defmethod phpinspect-project-set-function
diff --git a/phpinspect-resolve.el b/phpinspect-resolve.el
index 6e02abadeb..48b4abf0c0 100644
--- a/phpinspect-resolve.el
+++ b/phpinspect-resolve.el
@@ -632,11 +632,11 @@ CLASS-TOKEN-META as parse result."
        nil))))
 
 (cl-defmethod phpi-typedef-resolve-property-type
-  ((_typedef phpinspect-typedef) (_project phpinspect-project) _property-name 
&rest _ignored)
+  ((_typedef phpinspect-typedef) (_project phpinspect-project) property-name 
&rest _ignored)
   ;; Catch-all for cases where one attempts to resolve a nil property
   ;; name. Saves an if-statement for the caller.
   ;; Can't resolve property type when property name is nil, so we do nothing.
-  (cl-assert (not _property-name))
+  (cl-assert (not property-name))
   nil)
 
 (provide 'phpinspect-resolve)
diff --git a/phpinspect-type.el b/phpinspect-type.el
index 91bfa807bb..05d78711db 100644
--- a/phpinspect-type.el
+++ b/phpinspect-type.el
@@ -277,8 +277,8 @@ NAMESPACE may be nil, or a string with a namespace FQN."
         (concat self "<" (phpinspect--format-type-name 
(phpinspect--type-format-display-name type)) ">")
       self)))
 
-(cl-defmethod phpinspect--display-format-type-name (_type)
-  (cl-assert (not _type))
+(cl-defmethod phpinspect--display-format-type-name (type)
+  (cl-assert (not type))
 
   (phpinspect--display-format-type-name "unknown-type"))
 

Reply via email to