From f354665518bc5cb1f966fce2212ffd869af9e245 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Thu, 20 May 2021 23:30:40 +0200 Subject: [PATCH] Fix obvious identical subexpressions in `op_color_number` --- src/operators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators.cpp b/src/operators.cpp index f163f3dcff..a76bce3c48 100644 --- a/src/operators.cpp +++ b/src/operators.cpp @@ -247,7 +247,7 @@ namespace Sass { { double rval = rhs.value(); - if ((op == Sass_OP::DIV || op == Sass_OP::DIV) && rval == 0) { + if ((op == Sass_OP::DIV || op == Sass_OP::MOD) && rval == 0) { // comparison of Fixnum with Float failed? throw Exception::ZeroDivisionError(lhs, rhs); }