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:
parent
91adddf50e
commit
1db9cc65cc
|
@ -489,6 +489,7 @@ uint8_t *obqGetFullBufferI(output_buffers_queue_t *obqp,
|
||||||
osalDbgCheckClassI();
|
osalDbgCheckClassI();
|
||||||
|
|
||||||
if (obqIsEmptyI(obqp)) {
|
if (obqIsEmptyI(obqp)) {
|
||||||
|
*sizep = 0U;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue