mirror of
https://github.com/simh/simh.git
synced 2026-01-26 04:01:38 +00:00
Compiler indicated cleanups
This commit is contained in:
@@ -349,7 +349,7 @@ return TRUE;
|
||||
|
||||
static void *remqueue (QH *entry)
|
||||
{
|
||||
if (entry->queue->count <= 0)
|
||||
if (entry->queue->count == 0)
|
||||
return NULL;
|
||||
entry->prev->next = entry->next;
|
||||
entry->next->prev = entry->prev;
|
||||
|
||||
@@ -654,7 +654,7 @@ static void kmc_ctrlIn (int32 k, dupstate *d, int line);
|
||||
|
||||
/* Receive functions */
|
||||
void kmc_rxBufferIn(dupstate *d, int32 ba, uint32 sel6v);
|
||||
static void kdp_receive(int dupidx, int count);
|
||||
static void kdp_receive(int32 dupidx, int count);
|
||||
|
||||
/* Transmit functions */
|
||||
static void kmc_txBufferIn(dupstate *d, int32 ba, uint32 sel6v);
|
||||
@@ -2036,7 +2036,7 @@ void kmc_rxBufferIn(dupstate *d, int32 ba, uint32 sel6v) {
|
||||
* requires them for other modes.
|
||||
*/
|
||||
|
||||
static void kdp_receive(int dupidx, int count) {
|
||||
static void kdp_receive(int32 dupidx, int count) {
|
||||
int32 k;
|
||||
dupstate* d;
|
||||
UNIT *rxup;
|
||||
|
||||
Reference in New Issue
Block a user