Skip to content

Commit f2afaed

Browse files
committed
Properly initializing variable in IE driver
1 parent 1d2c5df commit f2afaed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/iedriver/CommandHandlers/ClickElementCommandHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void ClickElementCommandHandler::ExecuteInternal(const IECommandExecutor& execut
127127

128128
LocationInfo click_location = {};
129129
long obscuring_element_index = -1;
130-
std::string obscuring_element_description;
130+
std::string obscuring_element_description = "";
131131
bool obscured = element_wrapper->IsObscured(&click_location,
132132
&obscuring_element_index,
133133
&obscuring_element_description);

0 commit comments

Comments
 (0)