commit | 0252ba26c545a9752b158470cb66741df0f222ce | [log] [tgz] |
---|---|---|
author | Timothy Arceri <timothy.arceri@collabora.com> | Wed Jan 11 15:13:35 2017 +1100 |
committer | Timothy Arceri <timothy.arceri@collabora.com> | Thu Jan 12 13:58:32 2017 +1100 |
tree | 010754e3da0e8d5445e2c9c3c5486f3e66438a7f | |
parent | 5857858aa6c869f4eed31029a376876f50bd6a62 [diff] |
util: fix list_is_singular() Currently its dependant on the user calling and checking the result of list_empty() before using the result of list_is_singular(). Cc: "13.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>