From f2afaed88898692d2dab36d1c7f6ea6c8ca9d6f4 Mon Sep 17 00:00:00 2001 From: jimevans Date: Thu, 20 Dec 2018 08:07:23 -0800 Subject: [PATCH] Properly initializing variable in IE driver --- cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp b/cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp index 8cec3f99cbee4..53c431456ecbd 100644 --- a/cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp +++ b/cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp @@ -127,7 +127,7 @@ void ClickElementCommandHandler::ExecuteInternal(const IECommandExecutor& execut LocationInfo click_location = {}; long obscuring_element_index = -1; - std::string obscuring_element_description; + std::string obscuring_element_description = ""; bool obscured = element_wrapper->IsObscured(&click_location, &obscuring_element_index, &obscuring_element_description);