From: Russell Bryant Date: Fri, 22 Sep 2006 14:02:58 +0000 (+0000) Subject: Suppress a compiler warning about the use of a potentially uninitialized X-Git-Tag: 1.4.0-beta3~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33acd61f53d51057847dfefc1a567191bdab727d;p=thirdparty%2Fasterisk.git Suppress a compiler warning about the use of a potentially uninitialized variable. It couldn't actually happen, though. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43477 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/frame.c b/main/frame.c index ad747abdaf..d1d8727514 100644 --- a/main/frame.c +++ b/main/frame.c @@ -418,7 +418,7 @@ struct ast_frame *ast_frisolate(struct ast_frame *fr) struct ast_frame *ast_frdup(const struct ast_frame *f) { struct ast_frame_cache *frames; - struct ast_frame *out; + struct ast_frame *out = NULL; int len, srclen = 0; void *buf = NULL;