mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
[STORAHCI] Fix MSVC "uninitialized local variable" error (C4700) (#828)
See also PR #821.
This commit is contained in:
parent
6c3b7644ef
commit
33fc7bf316
|
@ -1480,6 +1480,12 @@ AhciProcessSrb (
|
||||||
* @param PortExtension
|
* @param PortExtension
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef _MSC_VER // avoid MSVC C4700
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable: 4700)
|
||||||
|
#endif
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
AhciActivatePort (
|
AhciActivatePort (
|
||||||
__in PAHCI_PORT_EXTENSION PortExtension
|
__in PAHCI_PORT_EXTENSION PortExtension
|
||||||
|
@ -1529,6 +1535,10 @@ AhciActivatePort (
|
||||||
return;
|
return;
|
||||||
}// -- AhciActivatePort();
|
}// -- AhciActivatePort();
|
||||||
|
|
||||||
|
#ifdef _MSC_VER // avoid MSVC C4700
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name AhciProcessIO
|
* @name AhciProcessIO
|
||||||
* @implemented
|
* @implemented
|
||||||
|
|
Loading…
Reference in a new issue