Drop unneeded comments.
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 11 Nov 2012 17:17:52 +0000 (18:17 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 11 Nov 2012 17:17:52 +0000 (18:17 +0100)
anykey.c
sigrok-cli.c

index cc40bedb7947a68d4bfde261106fdfc6d28e98f7..1e006b52d3f4ba718d61cbff31b6fb4ac3b4c10b 100644 (file)
--- 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;
index a626636dd137644f3b07ce5115ce074dcd5798ec..4af47d2da2a3fe0470fee124af052e62fbcff140 100644 (file)
@@ -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;