diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-05 11:25:36 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-05 11:25:36 +0000 |
commit | 098578cd84998691b56745901b62fbf8f90989fc (patch) | |
tree | 50636bb8cb7ce19d9a5be8ffcbe279b4b0aa36a9 /apps/app_chanspy.c | |
parent | da8d8a71782aaddc9dd8b68dbceb9b203dee6251 (diff) |
suppress a compiler warning about the usage of a potentially uninitialized
variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39014 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r-- | apps/app_chanspy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 3cd10e3c8..a4fcb0b4a 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -260,7 +260,7 @@ static int channel_spy(struct ast_channel *chan, struct ast_channel *spyee, int const struct ast_flags *flags) { struct chanspy_translation_helper csth; - int running, res, x = 0; + int running = 0, res, x = 0; char inp[24] = {0}; char *name; struct ast_frame *f; |