You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2023/03/07 23:12:01 UTC

[accumulo] 02/02: Fix warning by removing unused variable

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit 1dac6758a8de221edffd4a424ba541e4b303e269
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Mar 7 18:09:49 2023 -0500

    Fix warning by removing unused variable
    
    Remove unused ignored variable added by #3206
---
 core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java b/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
index 5548441926..2d6dec27e7 100644
--- a/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
+++ b/core/src/main/java/org/apache/accumulo/core/iterators/Combiner.java
@@ -190,7 +190,7 @@ public abstract class Combiner extends WrappingIterator implements OptionDescrib
 
   private void sawDelete() {
     if (isMajorCompaction && !reduceOnFullCompactionOnly) {
-      var ignored = loggedMsgCache.get(this.getClass().getName(), k -> {
+      loggedMsgCache.get(this.getClass().getName(), k -> {
         sawDeleteLog.error(
             "Combiner of type {} saw a delete during a"
                 + " partial compaction. This could cause undesired results. See"