Skip to content

Commit 05a444a

Browse files
committed
Resolve unused variable
This resolves the compilation warning: src/otel_aggregation_sum.erl:119:9: Warning: variable 'N' is unused
1 parent afb1e8b commit 05a444a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/opentelemetry_experimental/src/otel_aggregation_sum.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ aggregate(Ctx, Tab, ExemplarsTab, #stream{name=Name,
116116
1 ->
117117
otel_metric_exemplar_reservoir:offer(Ctx, ExemplarReservoir, ExemplarsTab, Key, Value, DroppedAttributes),
118118
true;
119-
N ->
119+
_N ->
120120
false
121121
end.
122122

0 commit comments

Comments
 (0)