ソースを参照

Fix uninitialized value

Samuel Thibault 13 年 前
コミット
12cc507d65
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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);