mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:17:35 +00:00
Everywhere: Remove empty line after function body opening curly brace
This commit is contained in:
parent
2d6be48c6f
commit
dbe72fd962
25 changed files with 0 additions and 27 deletions
|
@ -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"
|
||||
};
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue