mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:56:06 +00:00
Move variable definition to before first code statement. GCC did not catch this due to its language extensions.
svn path=/trunk/; revision=29657
This commit is contained in:
parent
790709a740
commit
884b9c5804
1 changed files with 1 additions and 1 deletions
|
@ -46,8 +46,8 @@ HaliQuerySystemInformation(IN HAL_QUERY_INFORMATION_CLASS InformationClass,
|
|||
// us it expected a single byte back. We therefore guess it expects
|
||||
// a BOOLEAN, and we dream up the value TRUE to (we think) tell it
|
||||
// "Sure, the framebuffer is cached".
|
||||
DPRINT("%s: caller expects %u bytes (should be 1)\n", "HalFrameBufferCachingInformation", BufferSize);
|
||||
BOOLEAN ToReturn = TRUE;
|
||||
DPRINT("%s: caller expects %u bytes (should be 1)\n", "HalFrameBufferCachingInformation", BufferSize);
|
||||
ASSERT(sizeof(BOOLEAN) == 1);
|
||||
*ReturnedLength = sizeof(BOOLEAN);
|
||||
RtlCopyMemory(Buffer, &ToReturn, sizeof(BOOLEAN));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue