Skip to content
Snippets Groups Projects
Commit a1a7017b authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

This is actually not needed.

We only use 'device' when passive is set.
parent 3df58d69
No related merge requests found
...@@ -90,6 +90,8 @@ void eb_device_slave(eb_socket_t socketp, eb_transport_t transportp, eb_device_t ...@@ -90,6 +90,8 @@ void eb_device_slave(eb_socket_t socketp, eb_transport_t transportp, eb_device_t
passive = device->passive == devicep; passive = device->passive == devicep;
active = !passive; active = !passive;
} else { } else {
device = 0; /* silence warning */
linkp = EB_NULL; linkp = EB_NULL;
link = 0; link = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment