1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

Everywhere: Remove empty line after function body opening curly brace

This commit is contained in:
Linus Groh 2021-04-25 20:20:00 +02:00
parent 2d6be48c6f
commit dbe72fd962
25 changed files with 0 additions and 27 deletions

View file

@ -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"
};

View file

@ -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)

View file

@ -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