mirror of
https://github.com/simh/simh.git
synced 2026-02-26 16:54:22 +00:00
Compiler suggested cleanup
This commit is contained in:
@@ -2030,12 +2030,12 @@ UNIT *uptr = NULL;
|
|||||||
|
|
||||||
tmxr_debug_trace_line (lp, "tmxr_detach_ln()");
|
tmxr_debug_trace_line (lp, "tmxr_detach_ln()");
|
||||||
_mux_detach_line (lp, TRUE, TRUE);
|
_mux_detach_line (lp, TRUE, TRUE);
|
||||||
if (lp->mp)
|
if (lp->mp) {
|
||||||
if (lp->uptr)
|
if (lp->uptr)
|
||||||
uptr = lp->uptr;
|
uptr = lp->uptr;
|
||||||
else
|
else
|
||||||
if (lp->mp->uptr)
|
uptr = lp->mp->uptr;
|
||||||
uptr = lp->mp->uptr;
|
}
|
||||||
if (uptr && uptr->filename) {
|
if (uptr && uptr->filename) {
|
||||||
/* Revise the unit's connect string to reflect the current attachments */
|
/* Revise the unit's connect string to reflect the current attachments */
|
||||||
uptr->filename = tmxr_mux_attach_string (uptr->filename, lp->mp);
|
uptr->filename = tmxr_mux_attach_string (uptr->filename, lp->mp);
|
||||||
|
|||||||
Reference in New Issue
Block a user