diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2013-10-29 08:36:31 +0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-11-13 15:48:38 +0400 |
commit | 8111d0287821a9b2a2faefbf0be1f345dbe93222 (patch) | |
tree | 9e69dc6a4b411d925bdba99597be88f3eb1ea7c4 /translate-all.h | |
parent | d9570cadd54115dd1b2bdff7d43c0d4f840e65e5 (diff) |
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 <antonynpavlov@gmail.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'translate-all.h')
0 files changed, 0 insertions, 0 deletions