Daniel Berlin <[EMAIL PROTECTED]> writes:

| >    int main(void)
| >    {
| >      spinlock_t lock = (spinlock_t) { .raw_lock = one_raw_spinlock() };
| 
| What exactly is this code expected to do?
| Call one_raw_spinlock and then throw away the result?

yes, that is implied by C99 semantics.

-- Gaby

Reply via email to