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:
parent
9be3c48a37
commit
7bbc8eb963
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue