Skip to content

Commit

Permalink
Return value is never checked.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1665977 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Mar 11, 2015
1 parent f775752 commit 8b310dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java/org/apache/tomcat/util/net/AprEndpoint.java
Expand Up @@ -1531,7 +1531,7 @@ protected void close(long socket) {
* Remove specified socket from the pollers. Must only be called from * Remove specified socket from the pollers. Must only be called from
* {@link Poller#run()}. * {@link Poller#run()}.
*/ */
private boolean removeFromPoller(long socket) { private void removeFromPoller(long socket) {
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug(sm.getString("endpoint.debug.pollerRemove", log.debug(sm.getString("endpoint.debug.pollerRemove",
Long.valueOf(socket))); Long.valueOf(socket)));
Expand All @@ -1552,7 +1552,6 @@ private boolean removeFromPoller(long socket) {
} }
} }
timeouts.remove(socket); timeouts.remove(socket);
return (rv == Status.APR_SUCCESS);
} }


/** /**
Expand Down

0 comments on commit 8b310dd

Please sign in to comment.