Compile in the case that anyone ever actually uses LEAVE_FREE_CHARS.
It's not clear what this does nor why they would do it, but it should compile, now. This could be a case where fixing the code so that it compiles merely masks more devious dysfunctional behaviour.
This commit is contained in:
parent
caa3136039
commit
4f91f96d90
@ -2028,7 +2028,7 @@ dgbstart(tp)
|
||||
size=tail-head-LEAVE_FREE_CHARS;
|
||||
if (size <0)
|
||||
size=0;
|
||||
} else {
|
||||
else {
|
||||
size=port->txbufsize-head;
|
||||
if(tail+port->txbufsize < head)
|
||||
size=0;
|
||||
|
@ -2028,7 +2028,7 @@ dgbstart(tp)
|
||||
size=tail-head-LEAVE_FREE_CHARS;
|
||||
if (size <0)
|
||||
size=0;
|
||||
} else {
|
||||
else {
|
||||
size=port->txbufsize-head;
|
||||
if(tail+port->txbufsize < head)
|
||||
size=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user