Skip to content

Commit

Permalink
Remove unused variable definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk authored and dain committed Sep 16, 2016
1 parent ddcfd37 commit b1bf975
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.facebook.presto.bytecode.MethodDefinition;
import com.facebook.presto.bytecode.OpCode;
import com.facebook.presto.bytecode.Parameter;
import com.facebook.presto.bytecode.Scope;
import com.facebook.presto.bytecode.Variable;
import com.facebook.presto.bytecode.control.ForLoop;
import com.facebook.presto.bytecode.control.IfStatement;
Expand Down Expand Up @@ -482,7 +481,6 @@ private static void generateRowEqualsRowMethod(
rightPosition,
rightPage);

Scope compilerContext = rowEqualsRowMethod.getScope();
for (int index = 0; index < joinChannelTypes.size(); index++) {
BytecodeExpression type = constantType(callSiteBinder, joinChannelTypes.get(index));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import com.facebook.presto.SequencePageBuilder;
import com.facebook.presto.block.BlockAssertions;
import com.facebook.presto.operator.DriverContext;
import com.facebook.presto.operator.JoinProbe;
import com.facebook.presto.operator.JoinProbeFactory;
import com.facebook.presto.operator.LookupSource;
Expand Down Expand Up @@ -79,7 +78,7 @@ public static Object[][] hashEnabledValuesProvider()
public void testSingleChannel(boolean hashEnabled)
throws Exception
{
DriverContext driverContext = taskContext.addPipelineContext(true, true).addDriverContext();
taskContext.addPipelineContext(true, true).addDriverContext();

ImmutableList<Type> types = ImmutableList.<Type>of(VARCHAR);
LookupSourceFactory lookupSourceFactoryFactory = joinCompiler.compileLookupSourceFactory(types, Ints.asList(0));
Expand Down

0 comments on commit b1bf975

Please sign in to comment.