summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditorws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llscripteditorws.cpp')
-rw-r--r--indra/newview/llscripteditorws.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llscripteditorws.cpp b/indra/newview/llscripteditorws.cpp
index 582d94e236..30a1ca53f6 100644
--- a/indra/newview/llscripteditorws.cpp
+++ b/indra/newview/llscripteditorws.cpp
@@ -287,7 +287,7 @@ void LLScriptEditorWSServer::setupConnectionMethods(LLJSONRPCConnection::ptr_t c
return LLSD();
});
script_connection->registerMethod("script.list",
- [that, connection_id](const std::string&, const LLSD&, const LLSD& params) -> LLSD
+ [that](const std::string&, const LLSD&, const LLSD& params) -> LLSD
{
auto server = that.lock();
if (server)