From fbb9e2b2104a5fd55118346651bfe621f6df7454 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 25 Sep 2014 17:03:47 +0200 Subject: [PATCH] CID-1192798: Remove unused boolean variable Signed-off-by: Rohit Yadav (cherry picked from commit 6e06ae9e8ea879e892d6311761a6042fa78cea3f) --- .../apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java index e2f261e1ba3..e5e50178d9b 100644 --- a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java @@ -155,10 +155,9 @@ public class CreateVPCCmd extends BaseAsyncCreateCmd { @Override public void execute() { Vpc vpc = null; - boolean success = true; try { if (isStart()) { - success = _vpcService.startVpc(getEntityId(), true); + _vpcService.startVpc(getEntityId(), true); } else { s_logger.debug("Not starting VPC as " + ApiConstants.START + "=false was passed to the API"); }