Merge pull request #291 from andvib/timeout-unused-argument
val: Fix compilation issue when watchdog is not used
diff --git a/api-tests/val/nspe/val_peripherals.c b/api-tests/val/nspe/val_peripherals.c
index 40388c1..4e2d31b 100644
--- a/api-tests/val/nspe/val_peripherals.c
+++ b/api-tests/val/nspe/val_peripherals.c
@@ -158,6 +158,7 @@
{
val_status_t status = VAL_STATUS_SUCCESS;
+ (void)timeout_type; // Argument unused if WATCHDOG_AVAILABLE is not defined
#ifdef WATCHDOG_AVAILABLE
/* Disable watchdog Timer */
val_wd_timer_disable();