Skip to content

Commit

Permalink
Fix some compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Jul 13, 2009
1 parent 67ad352 commit 0a597f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ext/ed.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ class ConnectionDescriptor: public EventableDescriptor
bool bSslVerifyPeer;
bool bSslPeerAccepted;
#endif
bool bIsServer;

#ifdef HAVE_KQUEUE
bool bGotExtraKqueueEvent;
#endif

bool bIsServer;
Int64 LastIo;
int InactivityTimeout;

Expand Down
6 changes: 3 additions & 3 deletions ext/em.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ EventMachine_t::EventMachine_t (void (*event_callback)(const char*, int, const c
LoopBreakerReader (-1),
LoopBreakerWriter (-1),
bEpoll (false),
epfd (-1),
bKqueue (false),
kqfd (-1),
epfd (-1),
inotify (NULL),
HeartbeatInterval(2)
HeartbeatInterval(2),
inotify (NULL)
{
// Default time-slice is just smaller than one hundred mills.
Quantum.tv_sec = 0;
Expand Down
2 changes: 1 addition & 1 deletion ext/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ class SslBox_t
protected:
SslContext_t *Context;

bool bVerifyPeer;
bool bIsServer;
bool bHandshakeCompleted;
bool bVerifyPeer;
SSL *pSSL;
BIO *pbioRead;
BIO *pbioWrite;
Expand Down

0 comments on commit 0a597f0

Please sign in to comment.