From: Uwe Hermann Date: Sun, 11 Nov 2012 17:17:52 +0000 (+0100) Subject: Drop unneeded comments. X-Git-Tag: sigrok-cli-0.4.0~68 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f1f703bf0dc63e2b6149f4cfba294253991d04f7;p=sigrok-cli.git Drop unneeded comments. --- 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;