gcc: fix warnings

1 job for master in 1 minute and 9 seconds (queued for 1 minute and 56 seconds)
Status Name Job ID Coverage
  Build
passed build #34077

00:01:09