Commit fd7b1ec
committed
Removed potentially-misleading dead code and comment
Since ptr is being passed by value to the lambda expression,
setting ptr to null will have no effect past that single line.
The combination of the code and the comment which implies there
is an additional benefit/security in doing so might mislead a
maintainer or developer down the road.1 parent ee1654e commit fd7b1ec
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments