Skip to content

Commit ecd731c

Browse files
Fix unused require and parameter warnings
This commit removes two minor compiler warnings: - Remove unused "require Logger" from MapFilter module - Prefix unused opts parameter with underscore in FakeDebounce test support module These warnings don't affect functionality but create noise in the test output.
1 parent d840533 commit ecd731c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/appsignal/utils/map_filter.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
defmodule Appsignal.Utils.MapFilter do
22
@moduledoc false
3-
require Logger
43

54
# Phoenix parameter filtering adapted from the Phoenix Framework.
65
# Copyright (c) 2014 Chris McCord - Licensed under MIT

test/support/appsignal/fake_debounce.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Appsignal.FakeDebounce do
22
use Agent
33

4-
def start_link(opts \\ nil) do
4+
def start_link(_opts \\ nil) do
55
Agent.start_link(
66
# Since `nil` is a valid value for `last_transmission_milliseconds`,
77
# we use `:never_called` to differentiate when the function has

0 commit comments

Comments
 (0)