Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Minor fixes suggested by linters #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ configurations {

dependencies {
toCopy 'org.json:json:20200518'
implementation configurations.toCopy
}

task copyToLib(type: Copy) {
from configurations.toCopy
into 'lib'
copy {
from configurations.toCopy into 'lib'
}
}

processResources.dependsOn copyToLib
buildExtension.dependsOn "copyToLib"
2 changes: 1 addition & 1 deletion src/main/java/efiSeek/VarnodeConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import ghidra.program.model.address.AddressSpace;
import ghidra.program.model.pcode.PcodeOp;
import ghidra.program.model.pcode.Varnode;
import ghidra.program.model.symbol.SourceType;
import ghidra.program.model.listing.Function;
import ghidra.program.model.listing.Program;
import ghidra.program.model.listing.Variable;
Expand All @@ -31,6 +30,7 @@
public class VarnodeConverter {
private Address addr = null;
private Variable finalVar = null;
@SuppressWarnings("unused")
private Long constVar = null;
private ArrayList<Long> offset = new ArrayList<Long>();
private Boolean deref = false;
Expand Down