浏览代码

src/util: minor fixes to follow coding conventions

Nathalie Furmento 7 年之前
父节点
当前提交
1b2d99686e
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/util/starpu_task_insert_utils.c

+ 5 - 3
src/util/starpu_task_insert_utils.c

@@ -2,7 +2,7 @@
  *
  * Copyright (C) 2011-2014,2016-2017                      Inria
  * Copyright (C) 2011-2018                                Université de Bordeaux
- * Copyright (C) 2011-2017                                CNRS
+ * Copyright (C) 2011-2018                                CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -500,8 +500,10 @@ int _starpu_task_insert_create(struct starpu_codelet *cl, struct starpu_task *ta
 		}
 	}
 
-	if (state.nargs) {
-		if (task->cl_arg != NULL) {
+	if (state.nargs)
+	{
+		if (task->cl_arg != NULL)
+		{
 			_STARPU_DISP("Parameters STARPU_CL_ARGS and STARPU_VALUE cannot be used in the same call\n");
 			free(state.arg_buffer);
 			return -EINVAL;