From d73d0a327a18ac3c2e55a38da23e694f565484d6 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 29 Mar 2022 16:37:51 +0800 Subject: [PATCH] remove unnecessary condition Signed-off-by: Jerry Yu --- scripts/generate_ssl_debug_helpers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py index 6c9d670f7..a722c19f0 100755 --- a/scripts/generate_ssl_debug_helpers.py +++ b/scripts/generate_ssl_debug_helpers.py @@ -88,8 +88,7 @@ def preprocess_c_source_code(source, *classes): if has_instance is False: has_instance = True yield pair_start, start_line - if instance: - yield instance.span()[0], instance + yield instance.span()[0], instance if has_instance: yield start, end_line