mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-28 23:10:04 +00:00
VFS/terminal: fix clang warning
Variable-sized object may not be initialized. Issue #3564
This commit is contained in:
parent
648382db74
commit
7f57de1b74
@ -83,7 +83,7 @@ class Vfs::Terminal_file_system::Data_file_system : public Single_file_system
|
|||||||
if (buf_size == 0)
|
if (buf_size == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
char buf[buf_size] { };
|
char buf[buf_size];
|
||||||
|
|
||||||
unsigned const received = terminal.read(buf, buf_size);
|
unsigned const received = terminal.read(buf, buf_size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user