Remove redundant variable assignment

This commit is contained in:
Adrian Sieber 2015-10-08 21:43:05 +02:00
parent 0737bdd85a
commit 769b3f912e

View File

@ -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;