mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: fix a few warnings from clang
This commit is contained in:
@ -58,18 +58,18 @@ static GSourceFuncs source_funcs = {
|
||||
};
|
||||
|
||||
static void
|
||||
profiler_stopped (SpProfiler *profiler,
|
||||
GMainLoop *main_loop)
|
||||
profiler_stopped (SpProfiler *profiler_,
|
||||
GMainLoop *main_loop_)
|
||||
{
|
||||
g_main_loop_quit (main_loop);
|
||||
g_main_loop_quit (main_loop_);
|
||||
}
|
||||
|
||||
static void
|
||||
profiler_failed (SpProfiler *profiler,
|
||||
profiler_failed (SpProfiler *profiler_,
|
||||
const GError *reason,
|
||||
GMainLoop *main_loop)
|
||||
GMainLoop *main_loop_)
|
||||
{
|
||||
g_assert (SP_IS_PROFILER (profiler));
|
||||
g_assert (SP_IS_PROFILER (profiler_));
|
||||
g_assert (reason != NULL);
|
||||
|
||||
g_printerr ("Failure: %s\n", reason->message);
|
||||
|
||||
Reference in New Issue
Block a user