diff options
author | Pierre Joye <pajoye@php.net> | 2011-01-20 06:54:28 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-01-20 06:54:28 +0000 |
commit | 1e9faabe8e5fafd5b818b3afe86d1af8c5b90c71 (patch) | |
tree | da83397da46951960e0dcdfba3afea191775481f /ext/com_dotnet/com_variant.c | |
parent | eddf7586db86330c652e359bdb3f1b5a26771593 (diff) | |
download | php-git-1e9faabe8e5fafd5b818b3afe86d1af8c5b90c71.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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_variant.c b/ext/com_dotnet/com_variant.c index 43411be941..882100af62 100644 --- a/ext/com_dotnet/com_variant.c +++ b/ext/com_dotnet/com_variant.c @@ -593,6 +593,9 @@ static void variant_binary_operation(enum variant_binary_opcode op, INTERNAL_FUN case VOP_XOR: result = VarXor(vleft, vright, &vres); break; + /*Let say it fails as no valid op has been given */ + default: + result = E_INVALIDARG; } if (SUCCEEDED(result)) { |