Skip to content

Commit

Permalink
LGTM Alert
Browse files Browse the repository at this point in the history
- Fix `Local variable hides global variable`
  • Loading branch information
jelu committed Jan 18, 2019
1 parent c4bcbb9 commit 8b9345f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/response_time_index.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ void response_time_reset()

static struct query* flushed_obj = 0;

const dns_message* response_time_flush(enum flush_mode mode)
const dns_message* response_time_flush(enum flush_mode fm)
{
switch (mode) {
switch (fm) {
case flush_get:
if (qfirst && last_ts.tv_sec - qfirst->tm.ts.tv_sec >= max_sec) {
if (flushed_obj)
Expand Down

0 comments on commit 8b9345f

Please sign in to comment.