Skip to content

Fix clang warnings

Ross Burton requested to merge rburton/sysprof:format into master

clang errors out when using -Werror=format-nonliteral since the definition of g_strdup_vprintf() from glib-2.0 is using va_list and clangs still warns where as gcc doesn't do that for va_list arguments

Fixes src/sp-window.c:96:27: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | str = g_strdup_vprintf (format, args); | ^~~~~~

Signed-off-by: Khem Raj raj.khem@gmail.com Signed-off-by: Ross Burton ross.burton@intel.com

Merge request reports