mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Use void * instead of List * to avoid Coverity false positives.
Coverity complains that this should be "List" but that is clearly not correct.
This commit is contained in:
parent
2a576477b3
commit
1b93a77236
@ -1366,8 +1366,8 @@ backupProcessQueue(Manifest *manifest, List **queueList)
|
||||
|
||||
MEM_CONTEXT_TEMP_BEGIN()
|
||||
{
|
||||
// Create list of process queue
|
||||
*queueList = lstNewP(sizeof(List *));
|
||||
// Create list of process queues (use void * instead of List * to avoid Coverity false positive)
|
||||
*queueList = lstNewP(sizeof(void *));
|
||||
|
||||
// Generate the list of targets
|
||||
StringList *targetList = strLstNew();
|
||||
|
@ -1949,8 +1949,8 @@ restoreProcessQueue(Manifest *manifest, List **queueList)
|
||||
|
||||
MEM_CONTEXT_TEMP_BEGIN()
|
||||
{
|
||||
// Create list of process queue
|
||||
*queueList = lstNewP(sizeof(List *));
|
||||
// Create list of process queues (use void * instead of List * to avoid Coverity false positive)
|
||||
*queueList = lstNewP(sizeof(void *));
|
||||
|
||||
// Generate the list of processing queues (there is always at least one)
|
||||
StringList *targetList = strLstNew();
|
||||
|
Loading…
x
Reference in New Issue
Block a user