summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-08-08 20:30:52 +0000
committerKinsey Moore <kmoore@digium.com>2012-08-08 20:30:52 +0000
commite5718974415bdd7585039d261b5ceeba25f39b1e (patch)
tree3dbc88bb90adfa4f057a4a40b52ef3d9b405a556
parentf1dce57742ce5fdcdad03706136c9398588af453 (diff)
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 ........ Merged revisions 370924 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 828d0a0a1..f7e9d631a 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -159,7 +159,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" },