summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/librsvg
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-05-10 15:26:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-16 09:16:51 +0100
commitd3abad15046e4e5d8aeefa529e6e101ed4e95137 (patch)
tree761291fdc3400762422e7ba03b0d3904e5734f1f /meta/recipes-gnome/librsvg
parentd3adbcf5045c807bc9e74328a0a0b8b1068a1d55 (diff)
downloadpoky-d3abad15046e4e5d8aeefa529e6e101ed4e95137.tar.gz
epiphany: Do not bypass initialization of variable with __attribute__((cleanup))
This is reported with clang e.g. ../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:391:5: error: cannot jump from this goto statement to its label goto out; ^ ../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup)) g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL); ^ ../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:385:5: error: cannot jump from this goto statement to its label goto out; ^ ../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup)) g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL); ^ Ensure that the initialization is deterministic for goto to work reliably (From OE-Core rev: 19e4c1f63abc82cf5f8d1eaac28d8fd5d09bf9d3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/librsvg')
0 files changed, 0 insertions, 0 deletions