Skip to content

Commit 1b3d73a

Browse files
committed
Remove unused var
1 parent 1b60eb1 commit 1b3d73a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/demo-apps/android/LlamaDemo/app/src/main/java/com/example/executorchllamademo/LlmBenchmarkRunner.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public class LlmBenchmarkRunner extends Activity implements ModelRunnerCallback
2626
String mPrompt;
2727
TextView mTextView;
2828
StatsDump mStatsDump;
29-
// We will write the result back to this directory as it's known by the spec file
30-
File modelDir;
3129

3230
@Override
3331
protected void onCreate(Bundle savedInstanceState) {
@@ -37,7 +35,7 @@ protected void onCreate(Bundle savedInstanceState) {
3735

3836
Intent intent = getIntent();
3937

40-
modelDir = new File(intent.getStringExtra("model_dir"));
38+
File modelDir = new File(intent.getStringExtra("model_dir"));
4139
File model =
4240
Arrays.stream(modelDir.listFiles())
4341
.filter(file -> file.getName().endsWith(".pte"))

0 commit comments

Comments
 (0)