Silence some warnings and errors

(cherry picked from commit 0f0dfc7f)
14 jobs for solaris-fixes-v9_12-v9_11 in 7 minutes and 34 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Precheck
passed precheck:debian:sid:amd64 #52720
amd64 docker linux

00:00:18

 
  Build
passed build:centos:centos6:amd64 #52721
amd64 docker linux

00:02:00

passed build:centos:centos7:amd64 #52722
amd64 docker linux

00:02:09

passed build:debian:sid:amd64 #52723
amd64 docker linux

00:03:03

passed build:debian:sid:i386 #52724
i386 docker linux

00:02:06

 
  Test
passed install:debian:sid:amd64 #52733
amd64 docker linux

00:02:15

passed systemtest:centos:centos6:amd64 #52729
amd64 docker linux

00:04:09

passed systemtest:centos:centos7:amd64 #52730
amd64 docker linux

00:04:00

passed systemtest:debian:sid:amd64 #52731
amd64 docker linux

00:04:07

passed systemtest:debian:sid:i386 #52732
i386 docker linux

00:04:10

passed unittest:centos:centos6:amd64 #52725
amd64 docker linux

00:01:00

passed unittest:centos:centos7:amd64 #52726
amd64 docker linux

00:01:02

passed unittest:debian:sid:amd64 #52727
amd64 docker linux

00:00:49

passed unittest:debian:sid:i386 #52728
i386 docker linux

00:00:48