summaryrefslogtreecommitdiff
path: root/src/fs/physfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/physfs')
-rw-r--r--src/fs/physfs/virtfsphys.h5
-rw-r--r--src/fs/physfs/virtfsphys_unittest.cc1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/physfs/virtfsphys.h b/src/fs/physfs/virtfsphys.h
index 97b70aae6..1daebfb4f 100644
--- a/src/fs/physfs/virtfsphys.h
+++ b/src/fs/physfs/virtfsphys.h
@@ -18,10 +18,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef USE_PHYSFS
#ifndef UTILS_VIRTFSPHYS_H
#define UTILS_VIRTFSPHYS_H
+#ifdef USE_PHYSFS
+
#include "enums/simpletypes/append.h"
#include "localconsts.h"
@@ -78,5 +79,5 @@ namespace VirtFsPhys
int eof(VirtFile *restrict const file);
} // namespace VirtFsPhys
-#endif // UTILS_VIRTFSPHYS_H
#endif // USE_PHYSFS
+#endif // UTILS_VIRTFSPHYS_H
diff --git a/src/fs/physfs/virtfsphys_unittest.cc b/src/fs/physfs/virtfsphys_unittest.cc
index 429579b05..636d67a91 100644
--- a/src/fs/physfs/virtfsphys_unittest.cc
+++ b/src/fs/physfs/virtfsphys_unittest.cc
@@ -184,7 +184,6 @@ TEST_CASE("VirtFsPhys enumerateFiles2")
VirtList *list = nullptr;
list = VirtFsPhys::enumerateFiles("/");
- const size_t sz = list->names.size();
REQUIRE(list->names.size() == 5);
VirtFsPhys::freeList(list);