mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 17:23:03 +01:00
Remove old comment
This commit is contained in:
committed by
=Michael Hohn
parent
07ed4bf11e
commit
bd9460dd61
@@ -56,8 +56,6 @@ def _signature_dict(args, elem, context: Context):
|
|||||||
if args.typedef_signatures:
|
if args.typedef_signatures:
|
||||||
# Give every unique struct a name and use a reference to it as value.
|
# Give every unique struct a name and use a reference to it as value.
|
||||||
if signature not in context.sig_to_typedef:
|
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)
|
context.sig_to_typedef[signature] = "Struct%04d" % shorthash(signature)
|
||||||
typedef = context.sig_to_typedef[signature]
|
typedef = context.sig_to_typedef[signature]
|
||||||
return typedef
|
return typedef
|
||||||
|
|||||||
Reference in New Issue
Block a user