mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-24 23:16:33 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user