Worked around a problem with mwcc.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2858 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-03-02 00:15:44 +00:00
parent b0decc9424
commit 4d95f6c63c

View File

@ -336,8 +336,9 @@ static
jcache_entry*
find_jcache_entry(jamfile_cache* cache, char* filename)
{
jcache_entry _entry = { filename };
jcache_entry _entry;
jcache_entry* entry = &_entry;
entry->filename = filename;
if (!hashcheck(cache->entries, (HASHDATA**)&entry))
entry = 0;
return entry;