From fe2d2e640bf7a196fd1fe1f2efb7d4ba6382ce4f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 26 Aug 2011 01:46:57 -0500 Subject: Fix ambiguous 'else' warnings Signed-off-by: Yaakov Selkowitz Reviewed-by: Alan Coopersmith --- src/Toggle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Toggle.c') diff --git a/src/Toggle.c b/src/Toggle.c index 26c3573..6392e18 100644 --- a/src/Toggle.c +++ b/src/Toggle.c @@ -492,10 +492,11 @@ XawToggleChangeRadioGroup(Widget w, Widget radio_group) if ( tw->command.set && radio_group != NULL ) XawToggleUnsetCurrent(radio_group); - if (radio_group != NULL) + if (radio_group != NULL) { if ((group = GetRadioGroup(radio_group)) == NULL) CreateRadioGroup(w, radio_group); else AddToRadioGroup(group, w); + } } /* Function Name: XawToggleGetCurrent -- cgit v1.2.3