mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 09:56:22 +00:00
testdisplay: shut up compiler
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
2de19c477a
commit
74d6545ffa
@ -1095,7 +1095,7 @@ out:
|
|||||||
static gboolean input_event(GIOChannel *source, GIOCondition condition,
|
static gboolean input_event(GIOChannel *source, GIOCondition condition,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
gchar buf[1];
|
gchar buf[2];
|
||||||
gsize count;
|
gsize count;
|
||||||
|
|
||||||
count = read(g_io_channel_unix_get_fd(source), buf, sizeof(buf));
|
count = read(g_io_channel_unix_get_fd(source), buf, sizeof(buf));
|
||||||
@ -1125,7 +1125,6 @@ static gboolean input_event(GIOChannel *source, GIOCondition condition,
|
|||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
int encoders = 0, connectors = 0, crtcs = 0, framebuffers = 0;
|
|
||||||
char *modules[] = { "i915" };
|
char *modules[] = { "i915" };
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
struct udev *u;
|
struct udev *u;
|
||||||
@ -1138,7 +1137,6 @@ int main(int argc, char **argv)
|
|||||||
switch (c) {
|
switch (c) {
|
||||||
case 'i':
|
case 'i':
|
||||||
dump_info = 1;
|
dump_info = 1;
|
||||||
encoders = connectors = crtcs = modes = framebuffers = 1;
|
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
test_all_modes = 1;
|
test_all_modes = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user