]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
Remove unused variable e in xapi_vm.ml
authorMatthias Goergnes <matthias.goergens@citrix.com>
Wed, 26 Jan 2011 17:39:05 +0000 (17:39 +0000)
committerMatthias Goergnes <matthias.goergens@citrix.com>
Wed, 26 Jan 2011 17:39:05 +0000 (17:39 +0000)
Signed-off-by: Matthias Goergnes <matthias.goergens@citrix.com>
ocaml/xapi/xapi_vm.ml

index 077beda881e503335533b7f41f631262c4dae954..7ae0ff1e8a275fa4ec41b52b01b4f0a61b183dfb 100644 (file)
@@ -628,7 +628,7 @@ let hard_shutdown ~__context ~vm =
                let args = { TwoPhase.__context=__context; vm=vm; api_call_name="VM.hard_shutdown"; clean=false } in
                retry_on_conflict args (of_action action)
        with
-               | Api_errors.Server_error(code, _) as e
+               | Api_errors.Server_error(code, _)
                                when code = Api_errors.vm_bad_power_state ->
                        (* ToDo: How do you test directly if the VM is already shut-down?
                           I hope we are not masking bugs here.