mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-21 02:38:34 -04:00
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:
parent
720412ff5a
commit
64f1de08c8
@ -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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user