Skip to content

Commit 8c2e7c4

Browse files
committed
remove explicit false return statements
1 parent c44dff8 commit 8c2e7c4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contracts/data/EnumerableSet.sol

-4
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ library EnumerableSet {
225225
set._values.push(value);
226226
set._indexes[value] = set._values.length;
227227
return true;
228-
} else {
229-
return false;
230228
}
231229
}
232230

@@ -248,8 +246,6 @@ library EnumerableSet {
248246
delete set._indexes[value];
249247

250248
return true;
251-
} else {
252-
return false;
253249
}
254250
}
255251
}

0 commit comments

Comments
 (0)