aboutsummaryrefslogtreecommitdiffstats
path: root/main/frame.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 14:02:58 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 14:02:58 +0000
commiteb506467f342a53e1d67e14bfdf9da1e896f9ac0 (patch)
tree684867a96e47386929e63866ad193d96b6dc6dc4 /main/frame.c
parent1d897e168500a1633164da1b23c5e586f28e625c (diff)
Suppress a compiler warning about the use of a potentially uninitialized
variable. It couldn't actually happen, though. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43477 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/frame.c')
-rw-r--r--main/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/frame.c b/main/frame.c
index ad747abda..d1d872751 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;