From af6308971dd4cbf2b0111b615f62a78d5e154cab Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 23 Jun 2020 12:39:00 +0100 Subject: [PATCH] examples: Drop sysprof_clock_init() call from example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s implicitly called when setting up the `SysprofCaptureWriter`. Signed-off-by: Philip Withnall --- examples/app.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/app.c b/examples/app.c index bb10ba6f..acf64443 100644 --- a/examples/app.c +++ b/examples/app.c @@ -23,8 +23,6 @@ main (int argc, { SysprofCaptureWriter *writer; - sysprof_clock_init (); - /* Ignore SIGPIPE because we might get a pipe from the environment and we * don't want to trap if write() is used on it. */