summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/pkt4.cc
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2015-03-09 10:39:24 +0100
committerMarcin Siodelski <marcin@isc.org>2015-03-09 10:39:24 +0100
commitf17663b23dd47aa8639e65ca56d03ec237974e2d (patch)
tree134e13c0abad71e65abab9d0404e83de0b44a793 /src/lib/dhcp/pkt4.cc
parent[3736] Suppress cppcheck warnings about the SetUp/TearDown unused. (diff)
downloadkea-f17663b23dd47aa8639e65ca56d03ec237974e2d.tar.xz
kea-f17663b23dd47aa8639e65ca56d03ec237974e2d.zip
[3736] Fixed cppcheck warnings about unused functions.
Diffstat (limited to 'src/lib/dhcp/pkt4.cc')
-rw-r--r--src/lib/dhcp/pkt4.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dhcp/pkt4.cc b/src/lib/dhcp/pkt4.cc
index 1d10d416dc..2710789311 100644
--- a/src/lib/dhcp/pkt4.cc
+++ b/src/lib/dhcp/pkt4.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
@@ -379,6 +379,7 @@ Pkt4::setFile(const uint8_t* file, size_t fileLen /*= MAX_FILE_LEN*/) {
}
uint8_t
+// cppcheck-suppress unusedFunction
Pkt4::DHCPTypeToBootpType(uint8_t dhcpType) {
switch (dhcpType) {
case DHCPDISCOVER: