From 9e6c89f1fa93287104381e02f0bbbdd6060a9382 Mon Sep 17 00:00:00 2001 From: AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> Date: Sun, 5 Dec 2021 03:27:18 +0000 Subject: Added subroutines and comments for most files --- src/Compiler/ExecuteC.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Compiler/ExecuteC.java') diff --git a/src/Compiler/ExecuteC.java b/src/Compiler/ExecuteC.java index fbc7ade..128f541 100644 --- a/src/Compiler/ExecuteC.java +++ b/src/Compiler/ExecuteC.java @@ -69,7 +69,6 @@ public class ExecuteC { public Boolean compileC(){ try{ - String s= null; Process p; if (System.getProperty("os.name").equals("Linux")) { p = Runtime.getRuntime().exec(String.format( @@ -86,7 +85,7 @@ public class ExecuteC { BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream())); boolean error=false; - while ((s = stdError.readLine()) != null) { + while ((stdError.readLine()) != null) { error=true; } return error; -- cgit v1.2.3