trivial: fu-util fix mismanaged memory

Caught by clang:

../src/fu-util.c:473:17: warning: assigning to 'gchar *' (aka 'char *') from 'const gchar *' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
	warning_markup = fwupd_remote_get_agreement (remote);
This commit is contained in:
Mario Limonciello 2018-04-16 12:36:35 -05:00 committed by Richard Hughes
parent 7877769cad
commit 5e13aecef8

View File

@ -466,7 +466,7 @@ fu_util_perhaps_show_unreported (FuUtilPrivate *priv, GError **error)
static gboolean
fu_util_modify_remote_warning (FuUtilPrivate *priv, FwupdRemote *remote, GError **error)
{
g_autofree gchar *warning_markup = NULL;
const gchar *warning_markup = NULL;
g_autofree gchar *warning_plain = NULL;
/* get formatted text */