Skip to content
Snippets Groups Projects
Commit 8a17193d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

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

parent 250a1325
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment