minor cleanup and addressed a sprintf format warning

4 jobs for 51-fix-cppcheck-detected-source-code-errors in 11 minutes and 14 seconds (queued for 13 seconds)
Status Job ID Name Coverage
  Build
passed #2354
linux docker
build:debian:sid:amd64

00:05:08

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

00:05:33

 
  Test
passed #2356
linux docker
test:debian:sid:amd64

00:05:37

passed #2357
linux docker
test:debian:sid:i386

00:05:40