diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-02-22 08:21:32 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-02-22 11:11:31 -0500 | 
| commit | bd6beab0a6722f4ea05b528010ee5064adc66e53 (patch) | |
| tree | 11ad31e73bc1ec2948a0665865dda1afff98ac33 /pceplib | |
| parent | c960cb28f72bce27dbf0aad75e1a41b85cf1a614 (diff) | |
pceplib: Fix uninited data in test vehicle
Coverity SA found this.  Fix
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib')
| -rw-r--r-- | pceplib/test/pcep_msg_messages_test.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pceplib/test/pcep_msg_messages_test.c b/pceplib/test/pcep_msg_messages_test.c index 3fec24a225..e3a74f92d1 100644 --- a/pceplib/test/pcep_msg_messages_test.c +++ b/pceplib/test/pcep_msg_messages_test.c @@ -143,7 +143,7 @@ void test_pcep_msg_create_request()  	/* Test IPv6 */  	rp_obj = pcep_obj_create_rp(0, false, false, false, false, 10, NULL); -	struct in6_addr src_addr_ipv6, dst_addr_ipv6; +	struct in6_addr src_addr_ipv6 = {}, dst_addr_ipv6 = {};  	struct pcep_object_endpoints_ipv6 *ipv6_obj =  		pcep_obj_create_endpoint_ipv6(&src_addr_ipv6, &dst_addr_ipv6);  	message = pcep_msg_create_request_ipv6(rp_obj, ipv6_obj, NULL);  | 
