Changeset 358e115 for libcfa


Ignore:
Timestamp:
Apr 22, 2024, 11:34:10 PM (8 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
c0363be
Parents:
02c80cdc
Message:

move attribute((unused)) so it applies to variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/fwd.hfa

    r02c80cdc r358e115  
    374374                                // since if that is the case, the oneshot was fulfilled (unparking this thread)
    375375                                // and the oneshot should not be needed any more
    376                                 __attribute__((unused)) struct oneshot * was = this.ptr;
     376                                struct oneshot * was __attribute__((unused)) = this.ptr; // used in option verify
    377377                                /* paranoid */ verifyf( was == future_FULFILLED, "Expected this.ptr to be 1p, was %p\n", was );
    378378
Note: See TracChangeset for help on using the changeset viewer.