Author: cfinck
Date: Thu Nov 24 19:35:08 2016
New Revision: 73374
URL:
http://svn.reactos.org/svn/reactos?rev=73374&view=rev
Log:
Fix GCC build
Modified:
trunk/reactos/win32ss/printing/base/spoolss/printprocessors.c
Modified: trunk/reactos/win32ss/printing/base/spoolss/printprocessors.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/printing/base/spoo…
==============================================================================
--- trunk/reactos/win32ss/printing/base/spoolss/printprocessors.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/printing/base/spoolss/printprocessors.c [iso-8859-1] Thu Nov 24
19:35:08 2016
@@ -26,6 +26,8 @@
BOOL WINAPI
GetPrintProcessorDirectoryW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE
pPrintProcessorInfo, DWORD cbBuf, PDWORD pcbNeeded)
{
+ PSPOOLSS_PRINT_PROVIDER pPrintProvider;
+
// Sanity checks
if (cbBuf && !pPrintProcessorInfo)
{
@@ -34,6 +36,6 @@
}
// Always call this function on the Local Spooler.
- PSPOOLSS_PRINT_PROVIDER pPrintProvider = CONTAINING_RECORD(PrintProviderList.Flink,
SPOOLSS_PRINT_PROVIDER, Entry);
+ pPrintProvider = CONTAINING_RECORD(PrintProviderList.Flink, SPOOLSS_PRINT_PROVIDER,
Entry);
return pPrintProvider->PrintProvider.fpGetPrintProcessorDirectory(pName,
pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded);
}