Merged revisions 43477 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 14:04:46 +0000 (14:04 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 14:04:46 +0000 (14:04 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43477 | russell | 2006-09-22 10:02:58 -0400 (Fri, 22 Sep 2006) | 3 lines

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/trunk@43478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/frame.c

index a95ba68..6a9b45b 100644 (file)
@@ -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;