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

Project:Branches: sebhub/rtems:fix-libi2c-build-error to rtems/rtos/rtems:main
Author:   Sebastian Huber
Assignee: Sebastian Huber
Reviewer: Vijay Banerjee

## Summary

libi2c: Fix unused parameter error

Fix the following errors:

```
cpukit/libi2c/libi2c.c: In function 'rtems_i2c_init':
cpukit/libi2c/libi2c.c:162:29:
error: unused parameter 'minor' [-Werror=unused-parameter]
  162 |   rtems_device_minor_number minor,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
cpukit/libi2c/libi2c.c:163:29:
error: unused parameter 'arg' [-Werror=unused-parameter]
  163 |   void                     *arg
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
```

Update #5387.

Signed-off-by: Sebastian Huber [email protected]

## 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/1334
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-6n36cj5uqh90btgssyn4yteuz-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to