diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-17 02:30:24 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-09-17 02:30:24 +0000 |
commit | a70c0fd846dc339135c0b5607983d20d891dc149 (patch) | |
tree | c405c4f0e8f84dcb751b31bdbce0f8d6d51e5770 /MdeModulePkg | |
parent | 46fee0d7b69f6f7ded0e8269670c34f5a96858da (diff) | |
download | edk2-platforms-a70c0fd846dc339135c0b5607983d20d891dc149.tar.xz |
Add VA_END to end the VA_START.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5907 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Hand/Handle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/Hand/Handle.c b/MdeModulePkg/Core/Dxe/Hand/Handle.c index cda7d66d50..38e27c4dfd 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Handle.c +++ b/MdeModulePkg/Core/Dxe/Hand/Handle.c @@ -575,6 +575,7 @@ CoreInstallMultipleProtocolInterfaces ( //
Status = CoreInstallProtocolInterface (Handle, Protocol, EFI_NATIVE_INTERFACE, Interface);
}
+ VA_END (Args);
//
// If there was an error, remove all the interfaces that were installed without any errors
@@ -589,6 +590,8 @@ CoreInstallMultipleProtocolInterfaces ( Interface = VA_ARG (Args, VOID *);
CoreUninstallProtocolInterface (*Handle, Protocol, Interface);
}
+ VA_END (Args);
+
*Handle = OldHandle;
}
@@ -844,6 +847,7 @@ CoreUninstallMultipleProtocolInterfaces ( //
Status = CoreUninstallProtocolInterface (Handle, Protocol, Interface);
}
+ VA_END (Args);
//
// If there was an error, add all the interfaces that were
@@ -859,6 +863,7 @@ CoreUninstallMultipleProtocolInterfaces ( Interface = VA_ARG(Args, VOID *);
CoreInstallProtocolInterface (&Handle, Protocol, EFI_NATIVE_INTERFACE, Interface);
}
+ VA_END (Args);
}
return Status;
|