Unnecessary return at the end of void function

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unnecessary return at the end of void function

Andrey Sokolov
The derive_key function in bioctl.c ends with return. This statement
should be removed

https://github.com/openbsd/src/blob/9262e070b4250387ec24125a9d5446cebbe12ec8/sbin/bioctl/bioctl.c#L1390