On Fri, Jun 18, 2010 at 5:43 PM, Dan Nicholson <[email protected]> wrote:
> On Fri, Jun 18, 2010 at 2:34 PM, Keith Packard <[email protected]> wrote:
>> On Mon, 14 Jun 2010 09:25:22 -0400, Kristian Høgsberg <[email protected]> 
>> wrote:
>>
>>> -      pos = next, next = __container_of(next->member.next, next, member))
>>> +      pos = tmp, tmp = __container_of(pos->member.next, tmp, member))
>>
>> Any reason this uses a ',' instead of a ';'?
>
> Because it's the initializer in a for loop. If there was a semicolon,
> it would become the test argument.

Yup, we're doing to assignments in the initializer, separated by the
comma operator.

Kristian
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to