mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
build: fix warning from release build
This commit is contained in:
@ -356,7 +356,7 @@ sysprof_agent_record_cb (GObject *object,
|
|||||||
g_assert (G_IS_ASYNC_RESULT (result));
|
g_assert (G_IS_ASYNC_RESULT (result));
|
||||||
g_assert (user_data == NULL);
|
g_assert (user_data == NULL);
|
||||||
|
|
||||||
if (!(recording = sysprof_profiler_record_finish (SYSPROF_PROFILER (object), result, &error)))
|
if (!(recording = sysprof_profiler_record_finish (profiler, result, &error)))
|
||||||
g_error ("Failed to start profiling session: %s", error->message);
|
g_error ("Failed to start profiling session: %s", error->message);
|
||||||
|
|
||||||
diagnostics = sysprof_recording_list_diagnostics (recording);
|
diagnostics = sysprof_recording_list_diagnostics (recording);
|
||||||
|
|||||||
@ -217,7 +217,7 @@ sysprof_cli_record_cb (GObject *object,
|
|||||||
g_assert (G_IS_ASYNC_RESULT (result));
|
g_assert (G_IS_ASYNC_RESULT (result));
|
||||||
g_assert (user_data == NULL);
|
g_assert (user_data == NULL);
|
||||||
|
|
||||||
if (!(recording = sysprof_profiler_record_finish (SYSPROF_PROFILER (object), result, &error)))
|
if (!(recording = sysprof_profiler_record_finish (profiler, result, &error)))
|
||||||
g_error ("Failed to start profiling session: %s", error->message);
|
g_error ("Failed to start profiling session: %s", error->message);
|
||||||
|
|
||||||
diagnostics = sysprof_recording_list_diagnostics (recording);
|
diagnostics = sysprof_recording_list_diagnostics (recording);
|
||||||
|
|||||||
Reference in New Issue
Block a user