mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[4283] Fixed an unused but set warning
This commit is contained in:
@@ -90,6 +90,8 @@ public:
|
||||
void setRelativeDueTimes(const int send_secs, const int renew_secs = 0,
|
||||
const int release_secs = 0) {
|
||||
ptime now = microsec_clock::universal_time();
|
||||
// Use now to avoid unused but set warning
|
||||
ASSERT_FALSE(now.is_special());
|
||||
basic_rate_control_.setRelativeDue(send_secs);
|
||||
renew_rate_control_.setRelativeDue(renew_secs);
|
||||
release_rate_control_.setRelativeDue(release_secs);
|
||||
|
Reference in New Issue
Block a user