From: Russell Bryant Date: Sat, 5 Aug 2006 11:25:36 +0000 (+0000) Subject: suppress a compiler warning about the usage of a potentially uninitialized X-Git-Tag: 1.4.0-beta1~462 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9ee151d22294c3c095c760f67698f2835ebe2b3;p=thirdparty%2Fasterisk.git suppress a compiler warning about the usage of a potentially uninitialized variable git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39014 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 3cd10e3c89..a4fcb0b4a1 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;