# HG changeset patch # User reimar # Date 1200217168 0 # Node ID 12fcf17e83e008817545b301e803b10eceed108b # Parent ebf1c7d24ca263b219ac349026448d6be9339c1c Move variable declaration into block where it is used. diff -r ebf1c7d24ca2 -r 12fcf17e83e0 loader/dshow/DS_Filter.c --- a/loader/dshow/DS_Filter.c Sun Jan 13 09:38:39 2008 +0000 +++ b/loader/dshow/DS_Filter.c Sun Jan 13 09:39:28 2008 +0000 @@ -129,7 +129,6 @@ const char* em = NULL; MemAllocator* tempAll; ALLOCATOR_PROPERTIES props,props1; - HRESULT result; DS_Filter* This = malloc(sizeof(DS_Filter)); if (!This) return NULL; @@ -168,6 +167,7 @@ IEnumPins* enum_pins = 0; IPin* array[256]; ULONG fetched; + HRESULT result; unsigned int i; This->m_iHandle = LoadLibraryA(dllname);