#
e497df64 |
| 27-Oct-2020 |
Murai Takashi <tmurai01@gmail.com> |
file_systems/userlandfs: Fix -Wnonnull-compare
In String::SetTo(), strnlen() is called only when *str is not NULL. This leads to "-Wnonnull-compare" warning at line 12. So, use system's strnlen() to
file_systems/userlandfs: Fix -Wnonnull-compare
In String::SetTo(), strnlen() is called only when *str is not NULL. This leads to "-Wnonnull-compare" warning at line 12. So, use system's strnlen() to fix warning.
Change-Id: I55098af4e2c62ebcf3b6105b7b8f186eebf28edf Reviewed-on: https://review.haiku-os.org/c/haiku/+/3363 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
show more ...
|