[clang-tidy] Enable readability-redundant-string-init (#16310)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-08 07:26:03 -04:00
1 parent 7b6e2589f1
commit a970f05b69
13 files changed
+18 -19

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ NdefMessage::NdefMessage(std::vector<uint8_t> &data) {
index += type_length;
std::string id_str = "";
std::string id_str;
if (il) {
id_str = std::string(data.begin() + index, data.begin() + index + id_length);
index += id_length;