Repository: cloudstack
Updated Branches:
  refs/heads/master f92a50363 -> 93845afd5


Coverity issue: 1012179 - Commenting out unused variable.

Signed-off-by: Daan Hoogland <daan.hoogl...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fe78c766
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fe78c766
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fe78c766

Branch: refs/heads/master
Commit: fe78c76691d36a1b9e440f54ef0346beb5799a2d
Parents: 159d8c2
Author: wilderrodrigues <wrodrig...@schubergphilis.com>
Authored: Thu Jun 4 08:12:50 2015 +0200
Committer: Daan Hoogland <daan.hoogl...@gmail.com>
Committed: Thu Jun 4 12:34:03 2015 +0200

----------------------------------------------------------------------
 plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fe78c766/plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java 
b/plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java
index f5cecb1..a8ab4f7 100644
--- a/plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java
+++ b/plugins/hypervisors/ovm/src/com/cloud/ovm/object/Test.java
@@ -85,8 +85,12 @@ public class Test {
             //System.out.println(vm.toJson());
             final Connection c = new Connection("192.168.189.12", "oracle", 
"password");
             //System.out.println(Coder.toJson(OvmHost.getDetails(c)));
-            final String txt =
-                    "{\"MasterIp\": \"192.168.189.12\", \"dom0Memory\": 
790626304, \"freeMemory\": 16378757120, \"totalMemory\": 17169383424, 
\"cpuNum\": 4, \"agentVersion\": \"2.3-38\", \"cpuSpeed\": 2261}";
+
+            /* This is not being used at the moment.
+             * Coverity issue: 1012179
+             */
+            //final String txt =
+            //        "{\"MasterIp\": \"192.168.189.12\", \"dom0Memory\": 
790626304, \"freeMemory\": 16378757120, \"totalMemory\": 17169383424, 
\"cpuNum\": 4, \"agentVersion\": \"2.3-38\", \"cpuSpeed\": 2261}";
 
             //OvmHost.Details d = new GsonBuilder().create().fromJson(txt, 
OvmHost.Details.class);
             //OvmHost.Details d = Coder.fromJson(txt, OvmHost.Details.class);

Reply via email to