From 0476248f648ccddea9bdf9bae9095c3231e6643d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Jan 2024 15:37:37 +0100 Subject: Kernel: Retarget AMD64 according to spec. Kernel/Toolchain: Now move hKernel to /System/ when building the system. MPT: Fix API. newBoot: This is the priority, get a standard file layout to load the kernel at BK_START_KERNEL (0x00080000) Signed-off-by: Amlal El Mahrouss --- Source/String.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/String.cxx') diff --git a/Source/String.cxx b/Source/String.cxx index 86194812..3ad2a0cd 100644 --- a/Source/String.cxx +++ b/Source/String.cxx @@ -7,7 +7,6 @@ * ======================================================== */ -#include #include #include @@ -103,7 +102,6 @@ namespace hCore if (!to_str(result, sizeof(int), i)) { - delete[] ret; return ("-1"); } @@ -211,7 +209,6 @@ namespace hCore if (lhs && rhs && cur < string_length(lhs)) { - SizeT sz_lhs = string_length(lhs); SizeT sz_rhs = string_length(rhs); rt_copy_memory(rhs, lhs + cur, sz_rhs); -- cgit v1.2.3