From f1f703bf0dc63e2b6149f4cfba294253991d04f7 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 11 Nov 2012 18:17:52 +0100 Subject: [PATCH] Drop unneeded comments. --- anykey.c | 1 - sigrok-cli.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/anykey.c b/anykey.c index cc40bed..1e006b5 100644 --- a/anykey.c +++ b/anykey.c @@ -38,7 +38,6 @@ static struct termios term_orig; static int received_anykey(int fd, int revents, void *cb_data) { - /* Avoid compiler warnings. */ (void)fd; (void)revents; (void)cb_data; diff --git a/sigrok-cli.c b/sigrok-cli.c index a626636..4af47d2 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -821,7 +821,6 @@ static int register_pds(struct sr_dev *dev, const char *pdstring) int ret; char **pdtokens, **pdtok, *pd_name; - /* Avoid compiler warnings. */ (void)dev; ret = 0; @@ -1458,7 +1457,6 @@ static void run_session(void) static void logger(const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer cb_data) { - /* Avoid compiler warnings. */ (void)log_domain; (void)cb_data; -- 2.30.2