From ba181ae9df52e9c0477107bc0e80f414c36a33b2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Oct 2016 11:21:50 +0200 Subject: [PATCH] fs/io/FileOutputStream: work around -Wunused --- src/fs/io/FileOutputStream.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fs/io/FileOutputStream.cxx b/src/fs/io/FileOutputStream.cxx index d6384630b..259a2d39d 100644 --- a/src/fs/io/FileOutputStream.cxx +++ b/src/fs/io/FileOutputStream.cxx @@ -166,6 +166,8 @@ FileOutputStream::OpenCreate(bool visible) GetPath().c_str()); #ifdef HAVE_LINKAT } +#else + (void)visible; #endif }