vbscript: Get rid of no longer needed VB_VARIANT|VT_BYREF in Global_IsObject.

This commit is contained in:
Jacek Caban 2011-10-19 19:38:44 +02:00 committed by Alexandre Julliard
parent 250a132545
commit 8a17193d8d
1 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <assert.h>
#include "vbscript.h"
#include "vbscript_defs.h"
@ -302,8 +304,7 @@ static HRESULT Global_IsObject(vbdisp_t *This, VARIANT *arg, unsigned args_cnt,
{
TRACE("(%s)\n", debugstr_variant(arg));
if(V_VT(arg) == (VT_VARIANT|VT_BYREF))
arg = V_VARIANTREF(arg);
assert(args_cnt == 1);
if(res) {
V_VT(res) = VT_BOOL;