RTEMS | bsps/altera-cyclone-v: Fix warning (!1329)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Jun 23 12:24:56 UTC 2026



Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1329

Project:Branches: sebhub/rtems:fix-altera-cyclone-v-warning to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber


## Summary

bsps/altera-cyclone-v: Fix warning

bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_qspi.c:
In function 'alt_qspi_read':
bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_qspi.c:747:12:
error: variable 'data' set but not used
[-Werror=unused-but-set-variable=]
  747 |     char * data = (char *)dst;
      |            ^~~~

Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1329
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-2py4ktmb8wbqs7s4hhlqdl0vf-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260623/958dbe5e/attachment.htm>


More information about the bugs mailing list