diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-03-06 18:14:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-06 11:14:01 +0100 |
| commit | 995fa013a63e171ee9f4689ebb555b8866d3d6fb (patch) | |
| tree | 93c44fa8212581aec116ebb9e148717a7dbd7dc4 /src | |
| parent | 4af1f56713963415fabe6b7853ac054ad28e4f51 (diff) | |
| download | box64-995fa013a63e171ee9f4689ebb555b8866d3d6fb.tar.gz box64-995fa013a63e171ee9f4689ebb555b8866d3d6fb.zip | |
Fixed a warning (#1335)
* Fixed some warnings * Revert
Diffstat (limited to 'src')
| -rw-r--r-- | src/wrapped/wrappedlibc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index 5f374439..0100385c 100644 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -1650,7 +1650,8 @@ void CreateCPUPresentFile(int fd) void CreateClocksourceFile(int fd) { size_t dummy; - write(fd, "tsc\n", strlen("tsc\n")); + dummy = write(fd, "tsc\n", strlen("tsc\n")); + (void)dummy; } #ifdef ANDROID |