diff extensions/app_diameap/diameap_server.c @ 1417:0918e88f7c33

fix warnings detected by Apple clang 11.0.0
author Luke Mewburn <luke@mewburn.net>
date Tue, 18 Feb 2020 19:12:16 +1100
parents 3cbe458fbfa9
children 915450ee91c7
line wrap: on
line diff
--- a/extensions/app_diameap/diameap_server.c	Tue Feb 18 19:33:08 2020 +1100
+++ b/extensions/app_diameap/diameap_server.c	Tue Feb 18 19:12:16 2020 +1100
@@ -1674,6 +1674,7 @@
 		break;
 	default:
 		TRACE_DEBUG(INFO, "%sUnknown AVP Base Type.",DIAMEAP_EXTENSION)
+		memset(&val, 0, sizeof(val));
 		;
 	}
 	return val;
"Welcome to our mercurial repository"