diff options
| author | ruki <[email protected]> | 2022-12-15 00:37:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-15 00:37:26 +0800 |
| commit | 52c919d54bedc52b7b0af560bdb55d36d1668906 (patch) | |
| tree | cbf213ac8b13271b809542d65cd05d6a491b7605 | |
| parent | 945deac4907a824c2eac2bd6741d0a8774049103 (diff) | |
remove unused ok
| -rw-r--r-- | core/src/xmake/os/cpuinfo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/xmake/os/cpuinfo.c b/core/src/xmake/os/cpuinfo.c index 1e7753940..ef92a2be4 100644 --- a/core/src/xmake/os/cpuinfo.c +++ b/core/src/xmake/os/cpuinfo.c @@ -134,7 +134,6 @@ static tb_float_t xm_os_cpuinfo_usagerate() tb_float_t usagerate = 0; if (tb_file_info("/proc/stat", tb_null)) { - tb_bool_t ok = tb_false; FILE* fp = fopen("/proc/stat", "r"); if (fp) { |
