From 769b3f912e02212b0a3be4062008329f12e2b18b Mon Sep 17 00:00:00 2001 From: Adrian Sieber Date: Thu, 8 Oct 2015 21:43:05 +0200 Subject: [PATCH] Remove redundant variable assignment --- src/Matrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matrix.cc b/src/Matrix.cc index dd53681..bc5f64f 100755 --- a/src/Matrix.cc +++ b/src/Matrix.cc @@ -1638,7 +1638,7 @@ NAN_METHOD(Matrix::Threshold) { Nan::Utf8String typstr(info[2]); if (strcmp(*typstr, "Binary") == 0) { - typ = 0; + // Uses default value } else if (strcmp(*typstr, "Binary Inverted") == 0) { typ = 1;