1 Star 0 Fork 10

jinlun/dim

forked from src-openEuler/dim 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-fix-incorrect-indent.patch 914 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 19a59c415c0360df06ccd540e1c9e847926f7fe4 Mon Sep 17 00:00:00 2001
From: Huaxin Lu <luhuaxin1@huawei.com>
Date: Mon, 29 Apr 2024 22:41:47 +0800
Subject: [PATCH 03/28] fix incorrect indent
---
src/measure/dim_measure_status.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/measure/dim_measure_status.c b/src/measure/dim_measure_status.c
index 28cfb43..e57e611 100644
--- a/src/measure/dim_measure_status.c
+++ b/src/measure/dim_measure_status.c
@@ -18,10 +18,10 @@ const char *dim_measure_status_print(struct dim_measure *m)
{
int status = 0;
- if (m == NULL)
- return status_name[MEASURE_STATUS_LAST];
+ if (m == NULL)
+ return status_name[MEASURE_STATUS_LAST];
- status = atomic_read(&m->status);
+ status = atomic_read(&m->status);
if (status < 0 || status >= MEASURE_STATUS_LAST)
status = MEASURE_STATUS_LAST;
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jinlun123123/dim.git
git@gitee.com:jinlun123123/dim.git
jinlun123123
dim
dim
master

搜索帮助