build: fix build warnigns with Clang

This commit is contained in:
Christian Hergert
2020-08-14 12:57:50 -07:00
parent f16bbac342
commit 620f1f0ff0
15 changed files with 19 additions and 34 deletions

View File

@ -432,7 +432,6 @@ sysprof_perf_counter_open (SysprofPerfCounter *self,
gulong flags)
{
SysprofHelpers *helpers = sysprof_helpers_get_default ();
g_autoptr(GError) error = NULL;
gint out_fd = -1;
g_return_val_if_fail (self != NULL, -1);