1
0

Always set return value for parallel ports

This fixes a crash in ISE 12 but does not lead to working parallel
port suppoet
This commit is contained in:
Michael Gernoth 2010-05-23 17:40:11 +02:00
parent 80a14787b9
commit 4c90fa3933

View File

@ -115,6 +115,7 @@ static int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
#ifndef NO_WINDRVR
ret = (*ioctl_func) (fd, request, wdioctl);
#else
cr->hCard = 0;
pport = config_get((unsigned long)cr->Card.Item[0].I.IO.dwAddr / 0x10);
if (!pport)