Fixed harmless warning with GCC 12.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16123 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2023-03-03 07:34:57 +00:00
parent 91adddf50e
commit 1db9cc65cc
1 changed files with 1 additions and 0 deletions

View File

@ -489,6 +489,7 @@ uint8_t *obqGetFullBufferI(output_buffers_queue_t *obqp,
osalDbgCheckClassI();
if (obqIsEmptyI(obqp)) {
*sizep = 0U;
return NULL;
}