summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java/com
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 16:06:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-04-13 16:06:54 +0200
commit19044b0f53b1c74a8b748018cc91c80ec301b28a (patch)
tree287a76bda72d8843ee09ca8c7f1e6cdbf073310b /ui/src/main/java/com
parentd4e77e6d57533f21cebe9516ab0dfdc41fec7b7a (diff)
ui: LogViewerActivity: cleanup ret val
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/java/com')
-rw-r--r--ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
index 36925bea..9deed440 100644
--- a/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
+++ b/ui/src/main/java/com/wireguard/android/activity/LogViewerActivity.kt
@@ -157,8 +157,7 @@ class LogViewerActivity : AppCompatActivity() {
builder.append(rawLogLines[i])
builder.append('\n')
}
- val ret = builder.toString().toByteArray(Charsets.UTF_8)
- return ret
+ return builder.toString().toByteArray(Charsets.UTF_8)
}
private suspend fun saveLog() {