summaryrefslogtreecommitdiff
path: root/src/kernel/tests
diff options
context:
space:
mode:
authordzwdz2022-04-12 19:50:19 +0200
committerdzwdz2022-04-12 19:50:19 +0200
commit49d095e34b9d9a364437bb3b1b6b1e7b07328d38 (patch)
tree367e2be882ee0d9c18d54e7becf71185a24ef76a /src/kernel/tests
parent73d7e865e9ded43295b7d91cc000e323ccad82e2 (diff)
shared: fix some minor warnings
Diffstat (limited to 'src/kernel/tests')
-rw-r--r--src/kernel/tests/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/tests/util.c b/src/kernel/tests/util.c
index 2442d47..cf16b75 100644
--- a/src/kernel/tests/util.c
+++ b/src/kernel/tests/util.c
@@ -32,7 +32,7 @@ TEST(strcmp) {
}
TEST(ring) {
- char buf[16], backbuf[16];
+ char backbuf[16];
size_t num_read = 0, num_written = 0;
uint8_t c;