소스 검색

去除警告

jsonwang 3 년 전
부모
커밋
85639ab0bb
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

+ 1 - 3
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointEditerController.swift

@@ -1090,7 +1090,7 @@ class PQStuckPointEditerController: PQBaseViewController {
             return
         }
 
-        let maxValue = max(videoSize.width, videoSize.height ?? 0)
+        let maxValue = max(videoSize.width, videoSize.height)
 
         if maxValue > 1920 {
             let maxRation = 1920 / maxValue
@@ -1598,9 +1598,7 @@ extension PQStuckPointEditerController {
                     i = i + 1
                     clipNum = clipNum + 1
                 }
-
                 // 拼接要使用的卡点信息
-
                 clipPoint(clipNum: clipNum, oldPoints: stuckPointsTemp)
             }