From: Kinsey Moore Date: Wed, 8 Aug 2012 20:29:16 +0000 (+0000) Subject: Do not define a cause that doesn't actually exist X-Git-Tag: 10.9.0-rc1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=631157b9285fc93e6710430693abb699241e3308;p=thirdparty%2Fasterisk.git Do not define a cause that doesn't actually exist AST_CAUSE_NOTDEFINED is a placeholder for usage when there is no cause information. As such, it should not be defined and translatable as a cause. ........ Merged revisions 370923 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@370924 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 6d10db363f..c19af9644a 100644 --- a/main/channel.c +++ b/main/channel.c @@ -203,7 +203,6 @@ static const struct { const char *name; const char *desc; } causes[] = { - { AST_CAUSE_NOTDEFINED, "NOTDEFINED", "Cause not defined" }, { AST_CAUSE_UNALLOCATED, "UNALLOCATED", "Unallocated (unassigned) number" }, { AST_CAUSE_NO_ROUTE_TRANSIT_NET, "NO_ROUTE_TRANSIT_NET", "No route to specified transmit network" }, { AST_CAUSE_NO_ROUTE_DESTINATION, "NO_ROUTE_DESTINATION", "No route to destination" },