diff --git a/control/descriptor.c b/control/descriptor.c index b7963cf76d9173c5e11dde119e525827fd514e73..69d189a29a2012c155693552c2a023cf1c1c5641 100644 --- a/control/descriptor.c +++ b/control/descriptor.c @@ -610,6 +610,10 @@ int MORSE_Desc_Create_OOC_User(MORSE_desc_t **descptr, MORSE_enum dtyp, int mb, int (*get_rankof)( const MORSE_desc_t*, int, int )) { #if !defined (CHAMELEON_SCHED_STARPU) + (void)descptr; (void)dtyp; (void)mb; (void)nb; (void)bsiz; + (void)lm; (void)ln; (void)i; (void)j; (void)m; (void)n; (void)p; (void)q; + (void)get_rankof; + morse_error("MORSE_Desc_Create_OOC_User", "Only StarPU supports on-demand tile allocation"); return MORSE_ERR_NOT_INITIALIZED; #else diff --git a/control/descriptor.h b/control/descriptor.h index 0d3d2173bd130d2dea2722eda16b2d4ffb56231b..7972ea05c574cc87ddfeaf6329101c096c886cb5 100644 --- a/control/descriptor.h +++ b/control/descriptor.h @@ -127,6 +127,7 @@ inline static void *morse_getaddr_cm(const MORSE_desc_t *A, int m, int n) **/ inline static void *morse_getaddr_null(const MORSE_desc_t *A, int m, int n) { + (void)A; (void)m; (void)n; return NULL; }