« Previous | Next » 

Revision 8111d028

ID8111d0287821a9b2a2faefbf0be1f345dbe93222

Added by Antony Pavlov over 10 years ago

vl: fix build when configured with no graphic support

The following error occurs when building with no graphic output support:

vl.c: In function ‘main’:
vl.c:2829:19: error: variable ‘ds’ set but not used [-Werror=unused-but-set-variable]
DisplayState *ds;
^
cc1: all warnings being treated as errors

To reproduce this issue, just run:

$ ./configure \
--disable-curses \
--disable-sdl \
--disable-cocoa \
--disable-gtk \
--disable-vnc \
--enable-werror
$ make vl.o

Signed-off-by: Antony Pavlov <>
Reviewed-by: Stefan Weil <>
Signed-off-by: Michael Tokarev <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences