Avoid compile warnings on really old wanpipe

git-svn-id: http://yate.null.ro/svn/yate/trunk@4580 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-08-30 10:17:35 +00:00
parent 9be3c48a37
commit 7bbc8eb963
1 changed files with 1 additions and 3 deletions

View File

@ -1726,12 +1726,10 @@ int WpSpan::readData()
bool WpSpan::decodeEvent()
{
#ifdef WAN_EC_TONE_PRESENT
api_rx_hdr_t* ev = (api_rx_hdr_t*)m_buffer;
SignallingCircuitEvent* e = 0;
WpCircuit* circuit = 0;
#ifdef WAN_EC_TONE_PRESENT
switch (ev->event_type) {
case WP_API_EVENT_NONE:
return false;