libglusterfs : fix coverity issue in stack.c
This patch fixes CID : 1395323. Issue : Uninitialized scalar variable (UNINIT) updates: bz#789278 Change-Id: Id9567ca2ff9b5a36b9014afa70cc5795fe67161d Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
parent
3be7116d39
commit
f87d1a1e33
@ -85,7 +85,10 @@ gf_proc_dump_call_frame(call_frame_t *call_frame, const char *key_buf, ...)
|
||||
{
|
||||
char prefix[GF_DUMP_MAX_BUF_LEN];
|
||||
va_list ap;
|
||||
call_frame_t my_frame;
|
||||
call_frame_t my_frame = {
|
||||
0,
|
||||
};
|
||||
|
||||
int ret = -1;
|
||||
char timestr[256] = {
|
||||
0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user