Prefer pre-inc/dec unless post-inc/dec are necessary

This commit is contained in:
Rangi42 committed 2025-07-19 16:18:35 -04:00
1 parent bf69043a1d
commit 14f5e16ae8
19 files changed
+111 -118

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ std::pair<WarningState, std::optional<uint8_t>> getInitialWarningState(std::stri
}
param = param * 10 + (*ptr - '0');
ptr++;
++ptr;
} while (*ptr);
// If we reached the end of the string, truncate it at the '='