From 5e62c9c4af329aaf02fe209d863e0fe5af08cddf Mon Sep 17 00:00:00 2001 From: Carolin Brandt Date: Tue, 7 Feb 2023 14:05:08 +0100 Subject: [PATCH] remove unused variable --- .../com/github/maven_nar/cpptasks/compiler/TestLinkType.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/com/github/maven_nar/cpptasks/compiler/TestLinkType.java b/src/test/java/com/github/maven_nar/cpptasks/compiler/TestLinkType.java index ad44978b..c5cb5375 100644 --- a/src/test/java/com/github/maven_nar/cpptasks/compiler/TestLinkType.java +++ b/src/test/java/com/github/maven_nar/cpptasks/compiler/TestLinkType.java @@ -68,8 +68,6 @@ public void testIsPluginTrue() { public void testSetOutputType() throws Exception { try { final LinkType type = new LinkType(); - final OutputTypeEnum pluginType = new OutputTypeEnum(); - pluginType.setValue("executable"); type.setOutputType(null); TestCase.fail("testSetOutputType should have thrown IllegalArgumentException"); } catch (IllegalArgumentException expected) {