History log of /haiku/src/add-ons/kernel/file_systems/userlandfs/shared/String.cpp
Revision Date Author Comments
# 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 fix warning.

Change-Id: I55098af4e2c62ebcf3b6105b7b8f186eebf28edf
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3363
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 62c7ec5c 23-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

Fix various instances of -Wset-but-unused.

Largely no functional change; most of these are just
removing the unused variables.


# eff61480 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Fix header and add std namespace to nothrow.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28985 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83812f67 23-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Copied userlandfs code from the test tree to the haiku source tree,
where it will be ported to Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eff61480cc06e810999a87aeecb820ce25c42f51 22-Jan-2009 Michael Lotz <mmlr@mlotz.ch>

Fix header and add std namespace to nothrow.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28985 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 83812f67529c88d4fb4b942162a9f21142e683fa 23-Feb-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Copied userlandfs code from the test tree to the haiku source tree,
where it will be ported to Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96