From 22bb9eef4f53d28bccc9a7a76929ca4e32ed91b4 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 14 Jan 2024 02:03:27 +0100 Subject: [PATCH] Engine: fix compiler warning caused by empty control statement Remove trailing ';', else this branch wouldn't even be compiled in. --- r5dev/common/callback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/common/callback.cpp b/r5dev/common/callback.cpp index dd546f5d..242c6789 100644 --- a/r5dev/common/callback.cpp +++ b/r5dev/common/callback.cpp @@ -644,7 +644,7 @@ void VPK_Pack_f(const CCommand& args) const char* workspacePath = fs_packedstore_workspace->GetString(); - if (!FileSystem()->IsDirectory(workspacePath, "PLATFORM")); + if (!FileSystem()->IsDirectory(workspacePath, "PLATFORM")) { Error(eDLL_T::FS, NO_ERROR, "Workspace path \"%s\" doesn't exist!\n", workspacePath); return;