Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / gmxlib / gmx_detect_hardware.c
index 26506521f75a226a10687acc9e964cac7bc1d28d..4332d1a70103735ae9b42e9efe86b388c0ab510c 100644 (file)
@@ -564,7 +564,7 @@ static void gmx_detect_gpus(FILE *fplog, const t_commrec *cr)
 
     if (rank_local == 0)
     {
-        char detection_error[STRLEN], sbuf[STRLEN];
+        char detection_error[STRLEN] = "", sbuf[STRLEN];
 
         if (detect_cuda_gpus(&hwinfo_g->gpu_info, detection_error) != 0)
         {