mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Remove redundant variable assignment
This commit is contained in:
parent
0737bdd85a
commit
769b3f912e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user