Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 525e91b in mainline


Ignore:
Timestamp:
2012-08-17T10:07:30Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
f9bd2e3
Parents:
8f6858d0
Message:

Make the assert condition shorter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r8f6858d0 r525e91b  
    664664        call = ipc_wait_for_call(&TASK->answerbox, SYNCH_NO_TIMEOUT,
    665665            SYNCH_FLAGS_NONE);
    666         ASSERT((call->flags & IPC_CALL_ANSWERED) ||
    667             (call->flags & IPC_CALL_NOTIF));
     666        ASSERT(call->flags & (IPC_CALL_ANSWERED | IPC_CALL_NOTIF));
    668667               
    669668        ipc_call_free(call);
Note: See TracChangeset for help on using the changeset viewer.