io/FileOutputStream: remove obsolete `maybe_unused`
This commit is contained in:
parent
9e802ad721
commit
678828b56f
|
@ -187,7 +187,7 @@ OpenTempFile(FileDescriptor directory_fd,
|
||||||
#endif /* HAVE_O_TMPFILE */
|
#endif /* HAVE_O_TMPFILE */
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
FileOutputStream::OpenCreate([[maybe_unused]] bool visible)
|
FileOutputStream::OpenCreate(bool visible)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_O_TMPFILE
|
#ifdef HAVE_O_TMPFILE
|
||||||
/* try Linux's O_TMPFILE first */
|
/* try Linux's O_TMPFILE first */
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||||
|
|
||||||
#ifndef FILE_OUTPUT_STREAM_HXX
|
#pragma once
|
||||||
#define FILE_OUTPUT_STREAM_HXX
|
|
||||||
|
|
||||||
#include "OutputStream.hxx"
|
#include "OutputStream.hxx"
|
||||||
#include "fs/AllocatedPath.hxx"
|
#include "fs/AllocatedPath.hxx"
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include "io/FileDescriptor.hxx"
|
#include "FileDescriptor.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
@ -190,5 +189,3 @@ private:
|
||||||
void RenameOrThrow(Path old_path, Path new_path) const;
|
void RenameOrThrow(Path old_path, Path new_path) const;
|
||||||
void Delete(Path delete_path) const noexcept;
|
void Delete(Path delete_path) const noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue