From 56af72b6fa52df8722a6f5b369ec1c2bb39285dd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 21 Jan 2017 17:42:51 +0000 Subject: coverity#1399443 UrF: Unread field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix like... commit b9d63d49be66ed1bfc4a76924f1c52ec3630adc8 Date: Tue Jan 12 15:27:41 2016 +0200 remove some unused Java code found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df Change-Id: I5ce651905edbba3f23ebb421ebc0acadd54f39cf Reviewed-on: https://gerrit.libreoffice.org/33379 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- qadevOOo/runner/helper/ProcessHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qadevOOo') diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index aed7a12e91aa..14409d9b62a5 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -116,7 +116,6 @@ public class ProcessHandler private int exitValue = -1; private boolean isFinished = false; private boolean isStarted = false; - private Pump stdout = null; private PrintStream stdIn = null; private Process m_aProcess = null; private boolean debug = false; @@ -273,7 +272,7 @@ public class ProcessHandler return; } dbg("execute: pump io-streams"); - stdout = new Pump(m_aProcess.getInputStream(), log, "out > ", bUseOutput); + new Pump(m_aProcess.getInputStream(), log, "out > ", bUseOutput); new Pump(m_aProcess.getErrorStream(), log, "err > ", bUseOutput); stdIn = new PrintStream(m_aProcess.getOutputStream()); -- cgit