| diff --git a/third_party/unrar/src/extract.cpp b/third_party/unrar/src/extract.cpp |
| index d33306d82dc8..209047e130aa 100644 |
| --- a/third_party/unrar/src/extract.cpp |
| +++ b/third_party/unrar/src/extract.cpp |
| @@ -270,15 +270,17 @@ bool CmdExtract::ExtractCurrentFile(Archive &Arc,size_t HeaderSize,bool &Repeat) |
| { |
| if (Arc.EndArcHead.NextVolume) |
| { |
| -#ifndef NOVOLUME |
| +#ifdef NOVOLUME |
| + return false; |
| +#else |
| if (!MergeArchive(Arc,&DataIO,false,Command)) |
| { |
| ErrHandler.SetErrorCode(RARX_WARNING); |
| return false; |
| } |
| -#endif |
| Arc.Seek(Arc.CurBlockPos,SEEK_SET); |
| return true; |
| +#endif |
| } |
| else |
| return false; |