summaryrefslogtreecommitdiffstats
path: root/src/Compiler/ExecuteC.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compiler/ExecuteC.java')
-rw-r--r--src/Compiler/ExecuteC.java3
1 files changed, 1 insertions, 2 deletions
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;