Explorar el Código

Fix uninitialized value

Samuel Thibault hace 13 años
padre
commit
12cc507d65
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/axpy/axpy.c

+ 1 - 1
examples/axpy/axpy.c

@@ -117,7 +117,7 @@ struct starpu_opencl_program opencl_program;
 
 int main(int argc, char **argv)
 {
-	int ret, exit_value;
+	int ret, exit_value = 0;
 
 	/* Initialize StarPU */
 	ret = starpu_init(NULL);