Skip to content

Commit 2cf589f

Browse files
committed
remove unused code
1 parent 2317ba9 commit 2cf589f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/served/extension.d

-2
Original file line numberDiff line numberDiff line change
@@ -1113,10 +1113,8 @@ ServedInfoResponse getServedInfo(ServedInfoParams params)
11131113
@protocolNotification("textDocument/didSave")
11141114
void onDidSaveDocument(DidSaveTextDocumentParams params)
11151115
{
1116-
auto workspaceRoot = workspaceRootFor(params.textDocument.uri);
11171116
auto config = workspace(params.textDocument.uri).config;
11181117
auto document = documents[params.textDocument.uri];
1119-
auto fileName = params.textDocument.uri.uriToFile.baseName;
11201118

11211119
if (document.getLanguageId == "d" || document.getLanguageId == "diet")
11221120
{

0 commit comments

Comments
 (0)