bsps/shared/dev/gpio/gpio-support.c: Address unused variable warning

release_sc was set but not used by anything other than _Assert()
statements. Added "(void) release_sc"
This commit is contained in:
Joel Sherrill
2026-06-22 10:49:12 -05:00
parent 66323ab56f
commit c0dcfb75d6
+1
View File
@@ -883,6 +883,7 @@ rtems_status_code rtems_gpio_define_pin_group(
group_definition->bsp_specific_pin_count
);
_Assert( release_sc == RTEMS_SUCCESSFUL );
(void) release_sc;
release_group_allocations(group);
return sc;