** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry ** linked list. Remove it from the list and free the object. */
| 7395 | ** linked list. Remove it from the list and free the object. |
| 7396 | */ |
| 7397 | static 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. |
no test coverage detected