diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2024-04-13 12:12:09 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-04-17 11:41:36 -0700 |
commit | a7b9ec7f6f465ce0d90edfe7154a4837b1fb9c00 (patch) | |
tree | be92171aefad072ee1c2c20c08eb34134b71e204 /doc | |
parent | 85d74a417e16d61549c2b916c431894a80fdcabf (diff) |
CBOR: Remove dead code: len[12] are not used with UTF-16
The lengths are only needed to check if one of the two strings is empty
and in the direct 8-bit comparisons with memcmp(). So we don't need this
division by 2, which was here since the initial commit.
Amends d4c7da9a07dc1434692fe08a61ba22c794574c4f.
Pick-to: 6.7
Change-Id: Ie28eadac333c4bcd8c08fffd17c5ecbce564ccd1
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions