From: Marc-André Lureau <marcandre.lur...@redhat.com> It's not modified, let's make it const.
Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- system/vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/vl.c b/system/vl.c index 86dd2dce28..f42ccfa216 100644 --- a/system/vl.c +++ b/system/vl.c @@ -194,7 +194,7 @@ static int default_sdcard = 1; static int default_vga = 1; static int default_net = 1; -static struct { +static const struct { const char *driver; int *flag; } default_list[] = { -- 2.41.0