[asterisk-commits] russell: branch russell/events r84630 - /team/russell/events/main/event.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 3 22:25:49 CDT 2007


Author: russell
Date: Wed Oct  3 22:25:49 2007
New Revision: 84630

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84630
Log:
resolve a few warnings

Modified:
    team/russell/events/main/event.c

Modified: team/russell/events/main/event.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/main/event.c?view=diff&rev=84630&r1=84629&r2=84630
==============================================================================
--- team/russell/events/main/event.c (original)
+++ team/russell/events/main/event.c Wed Oct  3 22:25:49 2007
@@ -280,6 +280,8 @@
 
 		AST_LIST_TRAVERSE(&sub->ie_vals, ie_val, entry) {
 			switch (ie_val->ie_pltype) {
+			case AST_EVENT_IE_PLTYPE_UNKNOWN:
+				break;
 			case AST_EVENT_IE_PLTYPE_EXISTS:
 				ast_event_append_ie_uint(&event, AST_EVENT_IE_EXISTS, ie_val->ie_type);
 				break;
@@ -390,6 +392,8 @@
 
 		AST_LIST_TRAVERSE(&sub->ie_vals, ie_val, entry) {
 			switch (ie_val->ie_pltype) {
+			case AST_EVENT_IE_PLTYPE_UNKNOWN:
+				break;
 			case AST_EVENT_IE_PLTYPE_EXISTS:
 				ast_event_append_ie_uint(&event, AST_EVENT_IE_EXISTS, ie_val->ie_type);
 				break;
@@ -435,6 +439,8 @@
 		ie_pltype = va_arg(ap, enum ast_event_ie_pltype);
 
 		switch (ie_pltype) {
+		case AST_EVENT_IE_PLTYPE_UNKNOWN:
+			break;
 		case AST_EVENT_IE_PLTYPE_UINT:
 		{
 			uint32_t uint = va_arg(ap, uint32_t);




More information about the asterisk-commits mailing list