Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-05-09 17:18:49 -0400
committerAlexander Kurtakov2018-05-10 02:46:30 -0400
commit61cc68f98bbd7fc84ec39484224e8438f9b902ec (patch)
treef203c41810a772968b5429612ed107314f8ee145
parent336f048e5c6d00788931abb1789c4c49ef99417a (diff)
downloadorg.eclipse.linuxtools-61cc68f98bbd7fc84ec39484224e8438f9b902ec.tar.gz
org.eclipse.linuxtools-61cc68f98bbd7fc84ec39484224e8438f9b902ec.tar.xz
org.eclipse.linuxtools-61cc68f98bbd7fc84ec39484224e8438f9b902ec.zip
gcov: Declaration and definitio at the same line.
Change-Id: I6664aa104c9f06721113375657136bac97236af4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/122382
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/CovManager.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/CovManager.java b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/CovManager.java
index fd067e61f7..238081ecc3 100644
--- a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/CovManager.java
+++ b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/parser/CovManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2016 STMicroelectronics and others.
+ * Copyright (c) 2009, 2018 STMicroelectronics and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -384,8 +384,7 @@ public class CovManager implements Serializable {
String binaryPath = binaryObject.getPath().toOSString();
STStrings strings = STSymbolManager.sharedInstance.getStrings(binaryObject, project);
List<String> l = new LinkedList<>();
- Process p;
- p = getStringsProcess(strings.getName(), strings.getArgs(), binaryPath);
+ Process p = getStringsProcess(strings.getName(), strings.getArgs(), binaryPath);
if (p == null) {
Status status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR,
Messages.CovManager_Retrieval_Error, new IOException());

Back to the top