From 40e936911fb8bafe42152d038a63e792fd2b02ba Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Thu, 30 Jul 2020 16:14:03 +0200 Subject: [PATCH] libc: remove unused member from Errno --- repos/libports/src/lib/libc/internal/errno.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/repos/libports/src/lib/libc/internal/errno.h b/repos/libports/src/lib/libc/internal/errno.h index 4e7725a5e6..3321ee477c 100644 --- a/repos/libports/src/lib/libc/internal/errno.h +++ b/repos/libports/src/lib/libc/internal/errno.h @@ -21,9 +21,7 @@ namespace Libc { struct Errno; } struct Libc::Errno { - int const error; - - explicit Errno(int error) : error(error) { errno = error; } + explicit Errno(int error) { errno = error; } operator int() const { return -1; } };