Skip to content

Commit

Permalink
remove redundant initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jan 2, 2022
1 parent 13f004b commit 16d5d7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ImageCapturer(private val mActivity: MainActivity) {
return
}

var outputFileOptionsBuilder : ImageCapture.OutputFileOptions.Builder? = null
var outputFileOptionsBuilder : ImageCapture.OutputFileOptions.Builder?

try {
outputFileOptionsBuilder = genOutputBuilderForImage()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class VideoCapturer(private val mActivity: MainActivity) {
fun startRecording() {
if (camConfig.camera == null) return

var pendingRecording : PendingRecording? = null
var pendingRecording : PendingRecording?

try {
pendingRecording = genPendingRecording()
Expand Down Expand Up @@ -355,4 +355,4 @@ class VideoCapturer(private val mActivity: MainActivity) {
uri.encodedPath?.endsWith(".mp4") == true
}
}
}
}

0 comments on commit 16d5d7a

Please sign in to comment.