Allon Mureinik has uploaded a new change for review.

Change subject: core: UpdateVmDiskCommand explicit member init
......................................................................

core: UpdateVmDiskCommand explicit member init

Explicitly initialized oldDisk = null to avoid a warning about it being
used without being initialized.

Change-Id: I35e8ffd55cc1f3a243538c85830b6fe14cc2104d
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/44/25844/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
index 4b2acd72..035b286 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVmDiskCommand.java
@@ -62,7 +62,7 @@
      * vm device for the given vm and disk
      */
     private VmDevice vmDeviceForVm;
-    private Disk oldDisk;
+    private Disk oldDisk = null;
 
     public UpdateVmDiskCommand(T parameters) {
         super(parameters);


-- 
To view, visit http://gerrit.ovirt.org/25844
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I35e8ffd55cc1f3a243538c85830b6fe14cc2104d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to