From c596e2a03ee94739e02e5625f9ef23979ffd91da Mon Sep 17 00:00:00 2001 From: David Reveman Date: Mon, 21 Jul 2008 11:56:13 -0400 Subject: [PATCH] Allow server to be started without any input devices. --- hw/dmx/dmxinit.c | 2 -- hw/dmx/dmxinput.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c index c39cc6ac5..a33ab00a0 100644 --- a/hw/dmx/dmxinit.c +++ b/hw/dmx/dmxinit.c @@ -802,8 +802,6 @@ void InitOutput(ScreenInfo *pScreenInfo, int argc, char *argv[]) dmxConfigConfigure(); if (!dmxNumScreens) dmxLog(dmxFatal, "InitOutput: no back-end displays found\n"); - if (!dmxNumInputs) - dmxLog(dmxInfo, "InitOutput: no inputs found\n"); /* Disable lazy window creation optimization if offscreen * optimization is disabled */ diff --git a/hw/dmx/dmxinput.c b/hw/dmx/dmxinput.c index 2abf7e45d..f5693ed0e 100644 --- a/hw/dmx/dmxinput.c +++ b/hw/dmx/dmxinput.c @@ -66,9 +66,6 @@ void InitInput(int argc, char **argv) int i; DMXInputInfo *dmxInput; - if (!dmxNumInputs) - dmxLog(dmxFatal, "InitInput: no inputs specified\n"); - for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++) dmxInputInit(dmxInput);