diff --git a/changelog.txt b/changelog.txt index 445c482e..bc639582 100644 --- a/changelog.txt +++ b/changelog.txt @@ -20,7 +20,10 @@ FIX: STM32LTDC driver: Fix bug in gdisp_lld_blit_area() which affected bl FIX: Improve /demos/benchmarks/rectangles. FIX: Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area(). FIX: Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation. -FIX: Prevent const qualifier being discarded in vfnprintg() +FIX: Prevent const qualifier being discarded in vfnprintg(). +FIX: Fix missing return value in gfxQueueFSyncPut(). +FIX: Fix missing return value in gfxQueueFSyncPush(). +FIX: Fix missing return value in gfxQueueFSyncInsert(). *** Release 2.9 *** diff --git a/src/gqueue/gqueue.c b/src/gqueue/gqueue.c index d8a8b906..0b48a7a7 100644 --- a/src/gqueue/gqueue.c +++ b/src/gqueue/gqueue.c @@ -321,7 +321,7 @@ void _gqueueDeinit(void) } gBool gfxQueueFSyncPut(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) { - if (!pitem) return; // Safety + if (!pitem) return gFalse; // Safety gfxSemInit(&pitem->sem, 0, 1); pitem->next = 0; @@ -340,7 +340,7 @@ void _gqueueDeinit(void) } gBool gfxQueueFSyncPush(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) { - if (!pitem) return; // Safety + if (!pitem) return gFalse; // Safety gfxSemInit(&pitem->sem, 0, 1); gfxSystemLock(); @@ -356,7 +356,7 @@ void _gqueueDeinit(void) } gBool gfxQueueFSyncInsert(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gfxQueueFSyncItem *pafter, gDelay ms) { - if (!pitem) return; // Safety + if (!pitem) return gFalse; // Safety gfxSemInit(&pitem->sem, 0, 1); gfxSystemLock();