[asterisk-commits] russell: branch 1.4 r43477 -
/branches/1.4/main/frame.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Sep 22 07:02:58 MST 2006
Author: russell
Date: Fri Sep 22 09:02:58 2006
New Revision: 43477
URL: http://svn.digium.com/view/asterisk?rev=43477&view=rev
Log:
Suppress a compiler warning about the use of a potentially uninitialized
variable. It couldn't actually happen, though.
Modified:
branches/1.4/main/frame.c
Modified: branches/1.4/main/frame.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/frame.c?rev=43477&r1=43476&r2=43477&view=diff
==============================================================================
--- branches/1.4/main/frame.c (original)
+++ branches/1.4/main/frame.c Fri Sep 22 09:02:58 2006
@@ -418,7 +418,7 @@
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;
More information about the asterisk-commits
mailing list