trivial: Fix up some indent issues spotted by coverity

This commit is contained in:
Richard Hughes 2017-01-17 08:54:03 +00:00
parent 999f66ab13
commit db0a3cb37f

View File

@ -33,10 +33,10 @@
#include <libfwupd/fwupd-error.h> #include <libfwupd/fwupd-error.h>
typedef struct { typedef struct {
GCancellable *cancellable; GCancellable *cancellable;
GPtrArray *cmd_array; GPtrArray *cmd_array;
gboolean force; gboolean force;
GPtrArray *device_array; GPtrArray *device_array;
} SynapticsMSTToolPrivate; } SynapticsMSTToolPrivate;
static void static void
@ -47,10 +47,11 @@ synapticsmst_tool_private_free (SynapticsMSTToolPrivate *priv)
g_object_unref (priv->cancellable); g_object_unref (priv->cancellable);
if (priv->cmd_array != NULL) if (priv->cmd_array != NULL)
g_ptr_array_unref (priv->cmd_array); g_ptr_array_unref (priv->cmd_array);
if (priv->device_array != NULL) if (priv->device_array != NULL)
g_ptr_array_unref (priv->device_array); g_ptr_array_unref (priv->device_array);
g_free (priv); g_free (priv);
} }
G_DEFINE_AUTOPTR_CLEANUP_FUNC(SynapticsMSTToolPrivate, synapticsmst_tool_private_free) G_DEFINE_AUTOPTR_CLEANUP_FUNC(SynapticsMSTToolPrivate, synapticsmst_tool_private_free)
typedef gboolean (*FuUtilPrivateCb) (SynapticsMSTToolPrivate *util, typedef gboolean (*FuUtilPrivateCb) (SynapticsMSTToolPrivate *util,