mirror of
https://github.com/simh/simh.git
synced 2026-04-17 00:36:00 +00:00
3b2: Remove unnecessary branch condition
This commit is contained in:
@@ -590,9 +590,7 @@ static void ctc_cmd(uint8 cid,
|
|||||||
for (j = 0; j < read_bytes; j++) {
|
for (j = 0; j < read_bytes; j++) {
|
||||||
uint32 offset;
|
uint32 offset;
|
||||||
/* Drain the buffer */
|
/* Drain the buffer */
|
||||||
if (b == 0 &&
|
if (b == 0 && (j + start_byte) < VTOC_SECSZ) {
|
||||||
start_byte > 0 &&
|
|
||||||
(j + start_byte) < VTOC_SECSZ) {
|
|
||||||
/* This is a partial read of the first block,
|
/* This is a partial read of the first block,
|
||||||
* continuing to read from a previous partial
|
* continuing to read from a previous partial
|
||||||
* block read. */
|
* block read. */
|
||||||
|
|||||||
Reference in New Issue
Block a user