summaryrefslogtreecommitdiff
path: root/cups/snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cups/snmp.c')
-rw-r--r--cups/snmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cups/snmp.c b/cups/snmp.c
index fffa218..7958b93 100644
--- a/cups/snmp.c
+++ b/cups/snmp.c
@@ -739,6 +739,10 @@ asn1_debug(const char *prefix, /* I - Prefix string */
_cups_globals_t *cg = _cupsGlobals(); /* Global data */
+#ifdef __clang_analyzer__ /* Suppress bogus clang error */
+ memset(string, 0, sizeof(string));
+#endif /* __clang_analyzer__ */
+
if (cg->snmp_debug <= 0)
return;