diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2020-01-28 18:35:45 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-01-28 20:35:06 +0000 |
commit | 794fd7e563ca9430a4a29a8e9f1923c07c23a480 (patch) | |
tree | c5c859eadde0bd54dad190d5f345b21b4ba33f80 /test | |
parent | 4287604425e7ff905036541829896d1ddf7c65d0 (diff) |
tests/misc: Drop redundant screenInfo declaration
GCC warned about it:
../test/misc.c:36:19: warning: redundant redeclaration of ‘screenInfo’ [-Wredundant-decls]
36 | extern ScreenInfo screenInfo;
| ^~~~~~~~~~
In file included from ../test/misc.c:30:
../include/scrnintstr.h:688:29: note: previous declaration of ‘screenInfo’ was here
688 | extern _X_EXPORT ScreenInfo screenInfo;
| ^~~~~~~~~~
Diffstat (limited to 'test')
-rw-r--r-- | test/misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/misc.c b/test/misc.c index f1f76cccd..a1d9365c3 100644 --- a/test/misc.c +++ b/test/misc.c @@ -33,8 +33,6 @@ #include "tests-common.h" -extern ScreenInfo screenInfo; - static void dix_version_compare(void) { |