From 64f1de08c8012bd024102b176a4403e9f4bae053 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 7 Apr 2016 00:02:24 +0000 Subject: [PATCH] Squash another warning git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Audio/BWFFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Audio/BWFFile.cpp b/Audio/BWFFile.cpp index bc88b1345..1852f50b9 100644 --- a/Audio/BWFFile.cpp +++ b/Audio/BWFFile.cpp @@ -461,7 +461,7 @@ bool BWFFile::open(FILE * fh, OpenMode mode, FileHandleFlags flags) { bool result {false}; if (!(mode & ReadOnly)) return result; - if (!mode & WriteOnly) + if (!(mode & WriteOnly)) { result = m_->file_.open (fh, mode & ~Text, flags) && m_->read_header (); }