diff options
author | Richard Hughes <richard@hughsie.com> | 2022-04-13 14:47:06 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2022-04-13 14:54:00 +0100 |
commit | 6235bc1a2c5bdcb995760db63f2da61665182ac9 (patch) | |
tree | 275e070dc612a0886d9a2652c38271c077f3232c /libappstream-glib/as-app.c | |
parent | 0883a64dba553b778e04175b0a5b7f1c3c135027 (diff) | |
download | appstream-glib-6235bc1a2c5bdcb995760db63f2da61665182ac9.tar.gz |
trivial: Be explicit when ignoring return error values
Diffstat (limited to 'libappstream-glib/as-app.c')
-rw-r--r-- | libappstream-glib/as-app.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index 76c0727..ae75973 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -2663,7 +2663,7 @@ as_app_set_update_contact (AsApp *app, const gchar *update_contact) replacements[i].search); if (tmp != NULL) { *tmp = replacements[i].replace; - g_strlcpy (tmp + 1, + (void)g_strlcpy (tmp + 1, tmp + strlen (replacements[i].search), len); done_replacement = TRUE; |