agent: Fix warning about required glib version
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 18 Mar 2022 07:05:49 +0000 (12:35 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 21 Mar 2022 15:51:06 +0000 (15:51 +0000)
commit642714943a554898645921eb39aa28d26da3f65c
tree45a31b913f1d45a0f816c53277dd1920ae9e81dd
parentcccdabfdc2d51d023a39264489e0b1b75f57c17b
agent: Fix warning about required glib version

../agent/discovery.c: In function ‘on_refresh_remove_timeout’:
../agent/discovery.c:203:13: warning: Not available before 2.60
  203 |       G_GNUC_FALLTHROUGH;
      |             ^~~~~~~~~~~~~

../agent/conncheck.c: In function ‘priv_turn_allocate_refresh_retransmissions_tick_agent_locked’:
../agent/conncheck.c:1656:13: warning: Not available before 2.60
 1656 |       G_GNUC_FALLTHROUGH;
      |             ^~~~~~~~~~~~~

The comment /* fall through */ is enough to cause GCC and Clang to not
emit the implicit-fallthrough warning.
agent/conncheck.c
agent/discovery.c