[c-testsuite] apply code fixes and analysis improvements

1 job for add-c-testsuite in 65 minutes and 6 seconds
Status Name Job ID Coverage
  Test
passed build #409942
docker

01:05:06