Merge pull request #2618 from ajssmith/amqp1_dev1_branch
[collectd.git] / src / collectd-tg.c
index 64547b8..4669c65 100644 (file)
@@ -62,7 +62,7 @@ static const char *conf_service = NET_DEFAULT_PORT;
 
 static lcc_network_t *net;
 
-static c_heap_t *values_heap = NULL;
+static c_heap_t *values_heap;
 
 static struct sigaction sigint_action;
 static struct sigaction sigterm_action;
@@ -95,7 +95,7 @@ __attribute__((noreturn)) static void exit_usage(int exit_status) /* {{{ */
   exit(exit_status);
 } /* }}} void exit_usage */
 
-static void signal_handler(int signal) /* {{{ */
+static void signal_handler(int __attribute__((unused)) signal) /* {{{ */
 {
   loop = false;
 } /* }}} void signal_handler */