mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
minor changes and eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -28,8 +28,6 @@
|
||||
#define get_volfactor(x) x ? ((x > 0) ? (1 << x) : ((1 << abs(x)) * -1)) : 0
|
||||
#define minmax(x,y) x ? (x > y) ? y : ((x < (y * -1)) ? (y * -1) : x) : 0
|
||||
|
||||
AST_MUTEX_DEFINE_STATIC(modlock);
|
||||
|
||||
static char *tdesc = "Native Channel Monitoring Module";
|
||||
static char *app = "MuxMon";
|
||||
static char *synopsis = "Record A Call Natively";
|
||||
@@ -460,7 +458,6 @@ static int muxmon_cli(int fd, int argc, char **argv)
|
||||
{
|
||||
char *op, *chan_name = NULL, *args = NULL;
|
||||
struct ast_channel *chan;
|
||||
int count = 0;
|
||||
|
||||
if (argc > 2) {
|
||||
op = argv[1];
|
||||
|
@@ -28,8 +28,6 @@
|
||||
#define get_volfactor(x) x ? ((x > 0) ? (1 << x) : ((1 << abs(x)) * -1)) : 0
|
||||
#define minmax(x,y) x ? (x > y) ? y : ((x < (y * -1)) ? (y * -1) : x) : 0
|
||||
|
||||
AST_MUTEX_DEFINE_STATIC(modlock);
|
||||
|
||||
static char *tdesc = "Native Channel Monitoring Module";
|
||||
static char *app = "MuxMon";
|
||||
static char *synopsis = "Record A Call Natively";
|
||||
@@ -460,7 +458,6 @@ static int muxmon_cli(int fd, int argc, char **argv)
|
||||
{
|
||||
char *op, *chan_name = NULL, *args = NULL;
|
||||
struct ast_channel *chan;
|
||||
int count = 0;
|
||||
|
||||
if (argc > 2) {
|
||||
op = argv[1];
|
||||
|
Reference in New Issue
Block a user