Skip to content

Commit c9b2cc5

Browse files
committed
cleanup
1 parent 6263c6e commit c9b2cc5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dd-trace-core/src/main/java/datadog/trace/core/propagation/BaggageHttpCodec.java

-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ public <C> void inject(
8989
int currentBytes = 0;
9090
int maxItems = config.getTraceBaggageMaxItems();
9191
int maxBytes = config.getTraceBaggageMaxBytes();
92-
int currentCharacters = 0;
93-
int maxSafeCharacters = maxBytes / MAX_CHARACTER_SIZE;
9492
for (final Map.Entry<String, String> entry : context.baggageItems()) {
9593
if (processedBaggage >= maxItems) {
9694
break;

0 commit comments

Comments
 (0)