From: Joshua Colp Date: Thu, 7 Sep 2006 18:54:36 +0000 (+0000) Subject: Minor cleanup and make sure the tmp variable is clean X-Git-Tag: 1.4.0-beta1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd0b891e57688972bc1647aa6f258e6c3aceb243;p=thirdparty%2Fasterisk.git Minor cleanup and make sure the tmp variable is clean git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42298 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_read.c b/apps/app_read.c index 4c76ccb867..bb3dd669bf 100644 --- a/apps/app_read.c +++ b/apps/app_read.c @@ -88,11 +88,9 @@ static int read_exec(struct ast_channel *chan, void *data) { int res = 0; struct ast_module_user *u; - char tmp[256]; - int maxdigits=255; - int tries = 1; - int to = 0; - int x = 0; + char tmp[256] = ""; + int maxdigits = 255; + int tries = 1, to = 0, x = 0; char *argcopy = NULL; struct tone_zone_sound *ts; struct ast_flags flags = {0};