diff --git a/vrs/FileDelegator.h b/vrs/FileDelegator.h index db58ad04..fb1f10f4 100644 --- a/vrs/FileDelegator.h +++ b/vrs/FileDelegator.h @@ -58,6 +58,7 @@ class FileDelegator { /// exists or can be opened, merely, that parsing the URI did not fail. /// On success, any of the fields may have been set or changed, including fileHandlerName and URI. virtual int parseUri(FileSpec& inOutFileSpec, size_t colonIndex) const { + (void)colonIndex; return inOutFileSpec.parseUri(); } }; diff --git a/vrs/FileHandler.h b/vrs/FileHandler.h index d3fd1838..845f273c 100644 --- a/vrs/FileHandler.h +++ b/vrs/FileHandler.h @@ -136,6 +136,7 @@ class FileHandler : public FileDelegator { /// @param length: the number of bytes to check availability of. /// @return true if available, false if unavailable (e.g. requiring a network fetch) virtual bool isAvailableOrPrefetch(size_t length) { + (void)length; return !isRemoteFileSystem(); } /// Read a number of bytes, in a chunk aware way. @@ -211,6 +212,8 @@ class FileHandler : public FileDelegator { virtual bool prefetchReadSequence( const vector>& sequence, bool clearSequence = true) { + (void)sequence; + (void)clearSequence; return false; }