From 223c914847fd5c802fd6de3f85baee4ca2b308ba Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 1 Mar 2018 12:51:27 +1000 Subject: [PATCH] tools: remove a stray perror() in libinput-record Signed-off-by: Peter Hutterer --- tools/libinput-record.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/libinput-record.c b/tools/libinput-record.c index f3170e1e..560ef45c 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -814,7 +814,6 @@ mainloop(struct record_context *ctx) /* If we didn't have events, delete the file. */ if (!isatty(ctx->out_fd)) { if (!had_events && ctx->output_file) { - perror(""); fprintf(stderr, "No events recorded, deleting '%s'\n", ctx->output_file); unlink(ctx->output_file); }