Ignore:
Timestamp:
Jan 3, 2025, 5:07:43 PM (3 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
8893ad4
Parents:
2a32118
Message:

Remove warnings from remaining array-collections tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/array-collections/dimexpr-match-c.cfa

    r2a32118 r2e63915  
    2626    int mut7 = 7, mut42 = 42;
    2727
     28    // Many are only used in rejection cases, so they are unused in the non-ERRS compilation.
     29    (void) cpr7;
     30    (void) cpr42;
     31    (void) mut7;
     32    (void) mut42;
     33
    2834    #define TRY_COMPAT( LV, RV )        \
    2935    {                                   \
    30         void f( float (*x)[LV] ) {}     \
     36        void f( float (*x)[LV] ) { (void) x; }      \
    3137        float a[RV];                    \
    3238        f( & a );                       \
     
    3945        float a[RV];                    \
    4046        float (*b)[LV] = & a;           \
     47        (void) b;                       \
    4148    }
    4249    ARRANGEMENT( PTRVAR_INIT )
Note: See TracChangeset for help on using the changeset viewer.