]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/snmp/Pdu.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / snmp / Pdu.h
index a2546bf9daf89391e1883557b574450753c27cdf..3ffc98cb0bf221f1252cbb8df89c16286d1d4c57 100644 (file)
@@ -1,13 +1,18 @@
 /*
- * DEBUG: section 49    SNMP Interface
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 49    SNMP Interface */
+
 #ifndef SQUID_SNMPX_PDU_H
 #define SQUID_SNMPX_PDU_H
 
+#include "base/Range.h"
 #include "ipc/forward.h"
-#include "Range.h"
 #include "snmp.h"
 
 namespace Snmp
@@ -38,9 +43,10 @@ public:
 private:
     void init(); ///< initialize members
     void assign(const Pdu& pdu); ///< perform full assignment
-    unsigned int aggrCount;  ///< The number of other Pdus merged into
+    unsigned int aggrCount = 0;  ///< The number of other Pdus merged into
 };
 
 } // namespace Snmp
 
 #endif /* SQUID_SNMPX_PDU_H */
+