瀏覽代碼

tools/starpu_fxt_tool.c: fix option setting

Nathalie Furmento 3 年之前
父節點
當前提交
3021d9d004
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tools/starpu_fxt_tool.c

+ 1 - 2
tools/starpu_fxt_tool.c

@@ -106,7 +106,7 @@ static int parse_args(int argc, char **argv)
 		/* That's pretty dirty: if the reading_input_filenames flag is
 		 * set, and that the argument does not match an option, we
 		 * assume this may be another filename */
-		if (reading_input_filenames)
+		else if (reading_input_filenames)
 		{
 			if (options.ninputfiles >= STARPU_FXT_MAX_FILES)
 			{
@@ -114,7 +114,6 @@ static int parse_args(int argc, char **argv)
 				return 7;
 			}
 			options.filenames[options.ninputfiles++] = argv[i];
-			continue;
 		}
 	}