ntdll: Use list_empty() instead of list_count() == 0.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Thu Jun 16 02:44:56 CDT 2011


Hi,

I came across this when investigating possible deadlocks in mmdevapi, looking at timer queues...

Lispers would learn to avoid using LENGTH to test for an empty list :-)

Regards,
 Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Use-list_empty-instead-of-list_count-0.patch
Type: application/octet-stream
Size: 1216 bytes
Desc: 0001-ntdll-Use-list_empty-instead-of-list_count-0.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110616/dd2ae6cc/attachment-0001.obj>


More information about the wine-patches mailing list