diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2021-07-06 16:16:06 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2021-07-08 01:49:26 +0200 |
| commit | 28fbed2f5cfa311067ed42268302c15b99769876 (patch) | |
| tree | e21e3461aed6214ca6b88e67d99124ca952acd14 /src/corelib/debug_script.py | |
| parent | e9fffbaf81ec81685cb6a5d75844cd700183ab9e (diff) | |
QCryptographicHash: share more code between switch cases
Now that calling hashLengthInternal() is cheap, use it to factor
common code in switch statements. For sha3, that would have been
possible before, too. Reason for duplicating the case bodies is
unclear.
Change-Id: I281617546e0b3e701315eee2f10df8d26ada92ae
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/debug_script.py')
0 files changed, 0 insertions, 0 deletions
