diff options
author | Pierre Joye <pajoye@php.net> | 2011-01-20 06:58:04 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-01-20 06:58:04 +0000 |
commit | 739a870b0db78e84de75b3163ba6d23386f53dc4 (patch) | |
tree | 11fe63daf704666411aad67a2a6d2449cc4fabc9 /ext/com_dotnet/com_variant.c | |
parent | 4ff753b99bff7a960fec0e4b10600de293724fbb (diff) | |
download | php-git-739a870b0db78e84de75b3163ba6d23386f53dc4.tar.gz |
- fail when no known op are given
Diffstat (limited to 'ext/com_dotnet/com_variant.c')
-rw-r--r-- | ext/com_dotnet/com_variant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_variant.c b/ext/com_dotnet/com_variant.c index 882100af62..fd08aeb224 100644 --- a/ext/com_dotnet/com_variant.c +++ b/ext/com_dotnet/com_variant.c @@ -755,6 +755,8 @@ static void variant_unary_operation(enum variant_unary_opcode op, INTERNAL_FUNCT case VOP_NOT: result = VarNot(vleft, &vres); break; + default: + result = E_INVALIDARG; } if (SUCCEEDED(result)) { |