X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcache.C;h=63bb4a0de4b32e9e5b9dcb0480c4f751c0f933c2;hb=e7751964a70df32d5e34ad4052db892b1e1ff0e0;hp=de8563a96e26013cdcb599b34e29c5651847bf37;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cache.C b/cinelerra-5.1/cinelerra/cache.C index de8563a9..63bb4a0d 100644 --- a/cinelerra-5.1/cinelerra/cache.C +++ b/cinelerra-5.1/cinelerra/cache.C @@ -125,8 +125,9 @@ SET_TRACE int CICache::check_in(Asset *asset) { total_lock->lock("CICache::check_in"); + CICacheItem *current = 0; if( !check_outs ) { - CICacheItem *current = first; + current = first; while(current && strcmp(current->asset->path, asset->path) != 0) current = NEXT; if(current && current->checked_out) {