Commit a3436079 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Remove unused variable.

parent 718fb9de
...@@ -1842,23 +1842,11 @@ static HRESULT WINAPI DataCache_Save( ...@@ -1842,23 +1842,11 @@ static HRESULT WINAPI DataCache_Save(
{ {
DataCache *This = impl_from_IPersistStorage(iface); DataCache *This = impl_from_IPersistStorage(iface);
DataCacheEntry *cache_entry; DataCacheEntry *cache_entry;
BOOL dirty = FALSE;
HRESULT hr = S_OK; HRESULT hr = S_OK;
unsigned short stream_number = 0; unsigned short stream_number = 0;
TRACE("(%p, %p, %d)\n", iface, pStg, fSameAsLoad); TRACE("(%p, %p, %d)\n", iface, pStg, fSameAsLoad);
dirty = This->dirty;
if (!dirty)
{
LIST_FOR_EACH_ENTRY(cache_entry, &This->cache_list, DataCacheEntry, entry)
{
dirty = cache_entry->dirty;
if (dirty)
break;
}
}
/* assign stream numbers to the cache entries */ /* assign stream numbers to the cache entries */
LIST_FOR_EACH_ENTRY(cache_entry, &This->cache_list, DataCacheEntry, entry) LIST_FOR_EACH_ENTRY(cache_entry, &This->cache_list, DataCacheEntry, entry)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment