virTypedParamsDeserialize: Remove unnecessary line breaks

All changed lines even fit into 80 columns.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Peter Krempa 2023-04-18 14:45:32 +02:00
parent 49dc447d31
commit 81391c0e1d

View File

@ -563,28 +563,22 @@ virTypedParamsDeserialize(struct _virTypedParameterRemote *remote_params,
param->type = remote_param->value.type; param->type = remote_param->value.type;
switch ((virTypedParameterType) param->type) { switch ((virTypedParameterType) param->type) {
case VIR_TYPED_PARAM_INT: case VIR_TYPED_PARAM_INT:
param->value.i = param->value.i = remote_param->value.remote_typed_param_value.i;
remote_param->value.remote_typed_param_value.i;
break; break;
case VIR_TYPED_PARAM_UINT: case VIR_TYPED_PARAM_UINT:
param->value.ui = param->value.ui = remote_param->value.remote_typed_param_value.ui;
remote_param->value.remote_typed_param_value.ui;
break; break;
case VIR_TYPED_PARAM_LLONG: case VIR_TYPED_PARAM_LLONG:
param->value.l = param->value.l = remote_param->value.remote_typed_param_value.l;
remote_param->value.remote_typed_param_value.l;
break; break;
case VIR_TYPED_PARAM_ULLONG: case VIR_TYPED_PARAM_ULLONG:
param->value.ul = param->value.ul = remote_param->value.remote_typed_param_value.ul;
remote_param->value.remote_typed_param_value.ul;
break; break;
case VIR_TYPED_PARAM_DOUBLE: case VIR_TYPED_PARAM_DOUBLE:
param->value.d = param->value.d = remote_param->value.remote_typed_param_value.d;
remote_param->value.remote_typed_param_value.d;
break; break;
case VIR_TYPED_PARAM_BOOLEAN: case VIR_TYPED_PARAM_BOOLEAN:
param->value.b = param->value.b = remote_param->value.remote_typed_param_value.b;
remote_param->value.remote_typed_param_value.b;
break; break;
case VIR_TYPED_PARAM_STRING: case VIR_TYPED_PARAM_STRING:
param->value.s = g_strdup(remote_param->value.remote_typed_param_value.s); param->value.s = g_strdup(remote_param->value.remote_typed_param_value.s);