CID-1192798: Remove unused boolean variable Signed-off-by: Rohit Yadav <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6e06ae9e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6e06ae9e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6e06ae9e Branch: refs/heads/master Commit: 6e06ae9e8ea879e892d6311761a6042fa78cea3f Parents: f74446a Author: Rohit Yadav <[email protected]> Authored: Thu Sep 25 17:03:47 2014 +0200 Committer: Rohit Yadav <[email protected]> Committed: Thu Sep 25 17:03:47 2014 +0200 ---------------------------------------------------------------------- .../org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6e06ae9e/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java ---------------------------------------------------------------------- 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 e2f261e..e5e5017 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"); }
