Squash another warning

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6596 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-04-07 00:02:24 +00:00
parent 720412ff5a
commit 64f1de08c8
1 changed files with 1 additions and 1 deletions

View File

@ -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 ();
}