]> git.proxmox.com Git - qemu.git/blobdiff - vl.c
target-openrisc: Correct carry flag check of l.addc and l.addic test cases
[qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index a585257096738a41f0f0be6c545b1043adfce26c..8d5d874e6853746be878923d8b650b70df93e3d2 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -4270,6 +4270,7 @@ int main(int argc, char **argv, char **envp)
     /* init local displays */
     switch (display_type) {
     case DT_NOGRAPHIC:
+        (void)ds;      /* avoid warning if no display is configured */
         break;
 #if defined(CONFIG_CURSES)
     case DT_CURSES: