Author: reimar Date: Sun Jan 13 10:39:28 2008 New Revision: 25707 Log: Move variable declaration into block where it is used. Modified: trunk/loader/dshow/DS_Filter.c Modified: trunk/loader/dshow/DS_Filter.c ============================================================================== --- trunk/loader/dshow/DS_Filter.c (original) +++ trunk/loader/dshow/DS_Filter.c Sun Jan 13 10:39:28 2008 @@ -129,7 +129,6 @@ DS_Filter* DS_FilterCreate(const char* d 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 @@ DS_Filter* DS_FilterCreate(const char* d IEnumPins* enum_pins = 0; IPin* array[256]; ULONG fetched; + HRESULT result; unsigned int i; This->m_iHandle = LoadLibraryA(dllname);