mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
fix various compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -123,6 +123,7 @@ static inline int indexof(struct feature_pvt *p, struct ast_channel *owner, int
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void wakeup_sub(struct feature_pvt *p, int a)
|
||||
{
|
||||
struct ast_frame null = { AST_FRAME_NULL, };
|
||||
@@ -141,6 +142,7 @@ static void wakeup_sub(struct feature_pvt *p, int a)
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void restore_channel(struct feature_pvt *p, int index)
|
||||
{
|
||||
@@ -180,6 +182,7 @@ static void update_features(struct feature_pvt *p, int index)
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void swap_subs(struct feature_pvt *p, int a, int b)
|
||||
{
|
||||
int tinthreeway;
|
||||
@@ -200,6 +203,7 @@ static void swap_subs(struct feature_pvt *p, int a, int b)
|
||||
wakeup_sub(p, a);
|
||||
wakeup_sub(p, b);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int features_answer(struct ast_channel *ast)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user