WaE: 'exec' may be used uninitialized in this function

This commit is contained in:
David Tardon 2012-03-07 18:33:14 +01:00
parent 7c033bba61
commit a203ca87e2

View File

@ -378,7 +378,7 @@ unsigned char * codeSnippet(
!bridges::cpp_uno::shared::isSmallStruct(returnTypeDescr)) {
functionIndex |= 0x80000000;
}
PrivateSnippetExecutor exec;
PrivateSnippetExecutor exec = privateSnippetExecutorGeneral;
switch (returnTypeClass) {
case typelib_TypeClass_VOID:
exec = privateSnippetExecutorVoid;