From 384488ebe6b0a6d4f1338ce6dead250175f3690f Mon Sep 17 00:00:00 2001 From: Nate Anderson Date: Fri, 12 Jan 2024 09:56:20 -0800 Subject: [PATCH] fix: fix minor warnings for release-please testing --- .../momento/kotlin/sdk/internal/InternalDataClient.android.kt | 4 ++-- .../momento/kotlin/sdk/internal/InternalDataClient.jvm.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/androidMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.android.kt b/src/androidMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.android.kt index 088b1e3..471ef85 100644 --- a/src/androidMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.android.kt +++ b/src/androidMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.android.kt @@ -677,7 +677,7 @@ internal actual class InternalDataClient actual constructor( return runCatching { stubsManager.stub.listRemove(request, metadata) }.fold( - onSuccess = { response -> + onSuccess = { _ -> ListRemoveValueResponse.Success }, onFailure = { e -> @@ -727,7 +727,7 @@ internal actual class InternalDataClient actual constructor( return runCatching { stubsManager.stub.listRetain(request, metadata) }.fold( - onSuccess = { response -> + onSuccess = { _ -> ListRetainResponse.Success }, onFailure = { e -> diff --git a/src/jvmMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.jvm.kt b/src/jvmMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.jvm.kt index 8931317..4ed2c87 100644 --- a/src/jvmMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.jvm.kt +++ b/src/jvmMain/kotlin/software/momento/kotlin/sdk/internal/InternalDataClient.jvm.kt @@ -676,7 +676,7 @@ internal actual class InternalDataClient actual constructor( return runCatching { stubsManager.stub.listRemove(request, metadata) }.fold( - onSuccess = { response -> + onSuccess = { _ -> ListRemoveValueResponse.Success }, onFailure = { e -> @@ -726,7 +726,7 @@ internal actual class InternalDataClient actual constructor( return runCatching { stubsManager.stub.listRetain(request, metadata) }.fold( - onSuccess = { response -> + onSuccess = { _ -> ListRetainResponse.Success }, onFailure = { e ->