]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Static Code Analysis: fix varargs handling in snmp_core.cc
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Oct 2012 08:44:23 +0000 (10:44 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Oct 2012 08:44:23 +0000 (10:44 +0200)
src/snmp_core.cc

index 4c9d45b6ccfeabb748e584324035aaffe7e87f06..924600097c9f832e9ae69d13a97e51933dfaf751 100644 (file)
@@ -1062,6 +1062,7 @@ snmpCreateOid(int length,...)
         }
     }
 
+    va_end(args);
     return (new_oid);
 }