mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] app: fix error: ‘dataSize’ may be used uninitialized
This commit is contained in:
parent
04774d9cd6
commit
c83243f22c
@ -672,7 +672,7 @@ static int frameThread(void * unused)
|
|||||||
updatePositionInfo();
|
updatePositionInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (useDMA)
|
if (g_state.formatValid && useDMA)
|
||||||
{
|
{
|
||||||
/* find the existing dma buffer if it exists */
|
/* find the existing dma buffer if it exists */
|
||||||
for(int i = 0; i < sizeof(dmaInfo) / sizeof(struct DMAFrameInfo); ++i)
|
for(int i = 0; i < sizeof(dmaInfo) / sizeof(struct DMAFrameInfo); ++i)
|
||||||
|
Loading…
Reference in New Issue
Block a user