Task #88071 - added.err

back to task #88071
download
Error: COMPILER_WARNING (CWE-477):
polkit-126/src/programs/pkexec.c: scope_hint: In function ‘main’
polkit-126/src/programs/pkexec.c:710:3: warning[-Wdeprecated-declarations]: ‘g_canonicalize_filename’ is deprecated: Not available before 2.58
#  710 |   s = g_canonicalize_filename(path, NULL);
#      |   ^
/usr/include/glib-2.0/glib.h:50: included_from: Included from here.
polkit-126/src/programs/pkexec.c:22: included_from: Included from here.
/usr/include/glib-2.0/glib/gfileutils.h:218:8: note: declared here
#  218 | gchar *g_canonicalize_filename (const gchar *filename,
#      |        ^~~~~~~~~~~~~~~~~~~~~~~
#  708|       }
#  709|   
#  710|->   s = g_canonicalize_filename(path, NULL);
#  711|   
#  712|     if (s != NULL)