MCPcopy Create free account
hub / github.com/audacity/audacity / zipfileRemoveEntryFromList

Function zipfileRemoveEntryFromList

lib-src/sqlite/shell.c:7397–7404  ·  view source on GitHub ↗

** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry ** linked list. Remove it from the list and free the object. */

Source from the content-addressed store, hash-verified

7395** linked list. Remove it from the list and free the object.
7396*/
7397static void zipfileRemoveEntryFromList(ZipfileTab *pTab, ZipfileEntry *pOld){
7398 if( pOld ){
7399 ZipfileEntry **pp;
7400 for(pp=&pTab->pFirstEntry; (*pp)!=pOld; pp=&((*pp)->pNext));
7401 *pp = (*pp)->pNext;
7402 zipfileEntryFree(pOld);
7403 }
7404}
7405
7406/*
7407** xUpdate method.

Callers 1

zipfileUpdateFunction · 0.85

Calls 1

zipfileEntryFreeFunction · 0.85

Tested by

no test coverage detected