diff --git a/src/passes/SafeHeap.cpp b/src/passes/SafeHeap.cpp index d5a4f8843de..6b30fde4987 100644 --- a/src/passes/SafeHeap.cpp +++ b/src/passes/SafeHeap.cpp @@ -223,8 +223,8 @@ struct SafeHeap : public Pass { } bool - isPossibleAtomicOperation(Index align, Index bytes, bool shared, Type type) { - return align == bytes && shared && type.isInteger(); + isPossibleAtomicOperation(Index align, Index bytes, bool /*shared*/, Type type) { + return align == bytes && type.isInteger(); } void addGlobals(Module* module, FeatureSet features) {