mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
AK: Make the return type of dbgputstr consistent.
This commit is contained in:
parent
4cf3a1eb41
commit
59e7ffa86d
Notes:
sideshowbarker
2024-07-19 02:04:12 +09:00
Author: https://github.com/asynts
Commit: 59e7ffa86d
Pull-request: https://github.com/SerenityOS/serenity/pull/3682
5 changed files with 9 additions and 6 deletions
|
@ -585,7 +585,7 @@ void vwarn(StringView fmtstr, TypeErasedFormatParams params, bool newline)
|
|||
void raw_dbg(StringView string)
|
||||
{
|
||||
const auto retval = dbgputstr(string.characters_without_null_termination(), string.length());
|
||||
ASSERT(static_cast<size_t>(retval) == string.length());
|
||||
ASSERT(retval == 0);
|
||||
}
|
||||
void vdbg(StringView fmtstr, TypeErasedFormatParams params, bool newline)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue