From 84707acc7edc19f963e1b357f240b7f712ed7d2c Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 11 Apr 2014 09:39:19 -0700 Subject: [PATCH] Compiler suggested cleanup --- sim_tmxr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim_tmxr.c b/sim_tmxr.c index a4214a8f..40c784d8 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -2030,12 +2030,12 @@ UNIT *uptr = NULL; tmxr_debug_trace_line (lp, "tmxr_detach_ln()"); _mux_detach_line (lp, TRUE, TRUE); -if (lp->mp) +if (lp->mp) { if (lp->uptr) uptr = lp->uptr; else - if (lp->mp->uptr) - uptr = lp->mp->uptr; + uptr = lp->mp->uptr; + } if (uptr && uptr->filename) { /* Revise the unit's connect string to reflect the current attachments */ uptr->filename = tmxr_mux_attach_string (uptr->filename, lp->mp);