mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
silence a warning in ast-devmode on a potentially uninitialized var.
At first sight (but the function is very large so i am not 100% sure) the code seems correct, so maybe my compiler is just not smart enough to figure that out at the optimization level it has. Not worthwhile merging to 1.4 i believe. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6988,7 +6988,7 @@ static int socket_process(struct iax2_thread *thread)
|
||||
struct iax_frame *fr;
|
||||
struct iax_frame *cur;
|
||||
struct ast_frame f = { 0, };
|
||||
struct ast_channel *c;
|
||||
struct ast_channel *c = NULL;
|
||||
struct iax2_dpcache *dp;
|
||||
struct iax2_peer *peer;
|
||||
struct iax_ies ies;
|
||||
|
||||
Reference in New Issue
Block a user