Skip to content

Commit

Permalink
Prefix progress updater with underscore for now
Browse files Browse the repository at this point in the history
This gets rid of a warning while we don't use it
  • Loading branch information
fwcd committed Oct 14, 2024
1 parent 56a9ae3 commit c83cd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curry/LanguageServer/Handlers/Initialize.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import qualified Language.LSP.Server as S
initializeHandler :: J.TMessage J.Method_Initialize -> LSM ()
initializeHandler req = do
let token = req ^. J.params . J.workDoneToken
S.withIndefiniteProgress "Initializing Curry..." token S.NotCancellable $ \updater -> do
S.withIndefiniteProgress "Initializing Curry..." token S.NotCancellable $ \_updater -> do
infoM "Building index store..."
workspaceFolders <- fromMaybe [] <$> S.getWorkspaceFolders
let folderToPath (J.WorkspaceFolder uri _) = J.uriToFilePath uri
Expand Down

0 comments on commit c83cd1b

Please sign in to comment.