]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Suppress a compiler warning about the use of a potentially uninitialized
authorRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 14:02:58 +0000 (14:02 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 22 Sep 2006 14:02:58 +0000 (14:02 +0000)
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

main/frame.c

index ad747abdaf1d43eff6c62f3335a7df4674466ea3..d1d872751488154a001663d80b948c3b9eb4b6e9 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;