Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/builder-flatpak-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ flatpak_path_match_prefix (const char *pattern,
/* special case * at end */
if (c == 0)
{
char *tmp = strchr (string, '/');
const char *tmp = strchr (string, '/');
if (tmp != NULL)
return tmp;
return string + strlen (string);
Expand Down Expand Up @@ -1633,7 +1633,7 @@ get_xdg_user_dir_from_string (const char *filesystem,
const char **suffix,
const char **dir)
{
char *slash;
const char *slash;
const char *rest;
g_autofree char *prefix = NULL;
gsize len;
Expand Down Expand Up @@ -2087,7 +2087,7 @@ option_add_generic_policy_cb (const gchar *option_name,
GError **error)
{
FlatpakContext *context = data;
char *t;
const char *t;
g_autofree char *key = NULL;
const char *policy_value;

Expand All @@ -2114,7 +2114,7 @@ option_remove_generic_policy_cb (const gchar *option_name,
GError **error)
{
FlatpakContext *context = data;
char *t;
const char *t;
g_autofree char *key = NULL;
const char *policy_value;
g_autofree char *extended_value = NULL;
Expand Down