summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Defines.h7
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h10
2 files changed, 0 insertions, 17 deletions
diff --git a/src/Defines.h b/src/Defines.h
index 6c6eea323..fb3231ff2 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -12,16 +12,9 @@ typedef std::vector<int> cSlotNums;
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wmissing-variable-declarations"
-#endif
/** Constant to calculate ticks from seconds "ticks per second" */
constexpr inline const int TPS = 20;
// This is not added to the lua API because it broke the build
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
index 2f827206f..dc97a34d4 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneDataHelper.h
@@ -36,12 +36,6 @@ inline void InvokeForAdjustedRelatives(ForEachSourceCallback & Callback, const V
}
}
-// Warning shouldn't trigger for inline variables, this is fixed in clang 7
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wmissing-variable-declarations"
-#endif
-
inline constexpr Vector3i OffsetYP{ 0, 1, 0 };
inline constexpr Vector3i OffsetYM{ 0, -1, 0 };
@@ -67,7 +61,3 @@ inline constexpr std::array<Vector3i, 4> RelativeLaterals
{ 0, 0, -1 },
}
};
-
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif