Skip to content

Commit

Permalink
add IGNORE declarations for some unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
3b committed Sep 23, 2011
1 parent 875c5a3 commit 206ca86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions concurrency-chanl.lisp
Expand Up @@ -94,6 +94,7 @@ message could be received."
(defun mailbox-list-messages (mailbox)
"Returns a fresh list containing all the messages in the
mailbox. Does not remove messages from the mailbox."
(declare (ignore mailbox))
(error "not implemented"))

(defun mailbox-receive-pending-messages (mailbox &optional n)
Expand Down
3 changes: 3 additions & 0 deletions resource.lisp
Expand Up @@ -142,9 +142,11 @@ ignore any already received data from this client."))
with the second argument of this function."))

(defmethod resource-accept-connection (res resource-name headers client)
(declare (ignore res resource-name headers client))
t)

(defmethod resource-client-connected (res client)
(declare (ignore res client))
nil)

(defmethod send-custom-message-to-resource (resource message)
Expand All @@ -157,6 +159,7 @@ ignore any already received data from this client."))
function on the main resource thread."))

(defmethod resource-received-custom-message (resource (message funcall-custom-message))
(declare (ignore resource))
(funcall (message-function message)))

(defgeneric call-on-resource-thread (resource fn)
Expand Down

0 comments on commit 206ca86

Please sign in to comment.