From 78e537769532cbcb985915a0bb9fff2ab6c73d8b Mon Sep 17 00:00:00 2001 From: YeunjunLee <48234872+YeunjunLee@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:43:32 +0900 Subject: [PATCH] delete redundant check Co-authored-by: Jooho Kim <54789363+joohok@users.noreply.github.com> --- src/executables/util_sa.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/executables/util_sa.c b/src/executables/util_sa.c index 7aff023d4f9..8b5895a2223 100644 --- a/src/executables/util_sa.c +++ b/src/executables/util_sa.c @@ -1730,10 +1730,7 @@ diagdb (UTIL_FUNCTION_ARG * arg) } else { - if (diag == DIAGDUMP_ALL) - { - goto print_diag_usage; - } + assert (diag != DIAGDUMP_ALL); if (!sm_check_system_class_by_name (class_name)) { if (utility_check_class_name (class_name) != NO_ERROR)