Compiler suggested cleanup
This commit is contained in:
parent
0d1ab44368
commit
84707acc7e
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue