summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-04-25 20:20:00 +0200
committerLinus Groh <mail@linusgroh.de>2021-04-25 20:20:00 +0200
commitdbe72fd9627f701210d69c9b01db762b2c950190 (patch)
treed2baf354b59d38f3ad486a73523fc43e8c3c6c3b /Userland/Libraries/LibCore
parent2d6be48c6f2353a5956341e9b947c715f29a6eaf (diff)
downloadserenity-dbe72fd9627f701210d69c9b01db762b2c950190.zip
Everywhere: Remove empty line after function body opening curly brace
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r--Userland/Libraries/LibCore/DateTime.cpp1
-rw-r--r--Userland/Libraries/LibCore/File.cpp1
-rw-r--r--Userland/Libraries/LibCore/LocalSocket.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCore/DateTime.cpp b/Userland/Libraries/LibCore/DateTime.cpp
index a8599f4a89..7791525485 100644
--- a/Userland/Libraries/LibCore/DateTime.cpp
+++ b/Userland/Libraries/LibCore/DateTime.cpp
@@ -84,7 +84,6 @@ void DateTime::set_time(unsigned year, unsigned month, unsigned day, unsigned ho
String DateTime::to_string(const String& format) const
{
-
const char wday_short_names[7][4] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
};
diff --git a/Userland/Libraries/LibCore/File.cpp b/Userland/Libraries/LibCore/File.cpp
index 88a5ca4cdb..bd3d417d9e 100644
--- a/Userland/Libraries/LibCore/File.cpp
+++ b/Userland/Libraries/LibCore/File.cpp
@@ -325,7 +325,6 @@ Result<void, File::CopyError> File::copy_file_or_directory(const String& dst_pat
Result<void, File::CopyError> File::copy_file(const String& dst_path, const struct stat& src_stat, File& source)
{
-
int dst_fd = creat(dst_path.characters(), 0666);
if (dst_fd < 0) {
if (errno != EISDIR)
diff --git a/Userland/Libraries/LibCore/LocalSocket.cpp b/Userland/Libraries/LibCore/LocalSocket.cpp
index 189c567347..58f43a367a 100644
--- a/Userland/Libraries/LibCore/LocalSocket.cpp
+++ b/Userland/Libraries/LibCore/LocalSocket.cpp
@@ -31,7 +31,6 @@ LocalSocket::LocalSocket(int fd, Object* parent)
LocalSocket::LocalSocket(Object* parent)
: Socket(Socket::Type::Local, parent)
{
-
#ifdef SOCK_NONBLOCK
int fd = socket(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0);
#else