[PATCH] winebus.sys: Remove dead code

Sebastian Lackner sebastian at fds-team.de
Fri Oct 28 04:41:28 CDT 2016


It is dead code, but I don't think putting it in a comment makes it
better. In general, commented out code should be avoided because it is
not checked by the compiler. In addition, we might want to implement
driver unloading in the near future, and will have to add the code
back then (including the "if" because failures to create the monitor
are not critical).

2016-10-28 3:00 GMT+02:00 Aric Stewart <aric at codeweavers.com>:
>
> Coverity 1373717
>
> Signed-off-by: Aric Stewart <aric at codeweavers.com>
> ---
>  dlls/winebus.sys/bus_udev.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
>
>
>
>



More information about the wine-devel mailing list