tree-wide: Small fixes for various clang-tidy warnings

This commit is contained in:
Daan De Meyer
2025-11-26 16:22:00 +09:00
committed by Yu Watanabe
parent 2ba910ab06
commit 9a6a8f35eb
69 changed files with 139 additions and 132 deletions
+2 -2
View File
@@ -645,7 +645,7 @@ int safe_atod(const char *s, double *ret_d) {
return -EINVAL;
if (ret_d)
*ret_d = (double) d;
*ret_d = d;
return 0;
}
@@ -710,7 +710,7 @@ int parse_ip_port(const char *s, uint16_t *ret) {
if (l == 0)
return -EINVAL;
*ret = (uint16_t) l;
*ret = l;
return 0;
}