From bd9460dd611fa2653a88501e943e99cffefa9df4 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Thu, 27 Jul 2023 09:34:17 -0700 Subject: [PATCH] Remove old comment --- sarif_cli/signature.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sarif_cli/signature.py b/sarif_cli/signature.py index 7302709..82771a5 100644 --- a/sarif_cli/signature.py +++ b/sarif_cli/signature.py @@ -56,8 +56,6 @@ def _signature_dict(args, elem, context: Context): if args.typedef_signatures: # Give every unique struct a name and use a reference to it as value. if signature not in context.sig_to_typedef: - #cannot have leading 0 hashes later in table joins so replace now - #context.sig_to_typedef[signature] = str("Struct%04d" % shorthash(signature)).replace("0", "1") context.sig_to_typedef[signature] = "Struct%04d" % shorthash(signature) typedef = context.sig_to_typedef[signature] return typedef