Skip to content

Commit 1a753be

Browse files
committed
aaa_diameter: Fix uninitialized variable
Makes GCC happy!
1 parent d571c4d commit 1a753be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aaa_diameter/aaa_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static int dm_avps2json(void *root, cJSON *avps)
231231
struct dict_object *obj;
232232
struct dict_avp_data dm_avp;
233233
int int_type = 1;
234-
double num_val;
234+
double num_val = 0;
235235

236236
FD_CHECK_GT(fd_msg_avp_hdr(it, &h));
237237

0 commit comments

Comments
 (0)