From 6fe96f0ba4e8a97fc86e58fe1827eb6acf86d08d Mon Sep 17 00:00:00 2001 From: HeathWang Date: Mon, 13 Mar 2023 16:34:06 +0800 Subject: [PATCH] fix: error: non-void function does not return a value in all control paths --- HWPanModal.podspec | 2 +- Sources/View/PanModal/HWPanModalContentView.m | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HWPanModal.podspec b/HWPanModal.podspec index 6121084..fb45d61 100644 --- a/HWPanModal.podspec +++ b/HWPanModal.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'HWPanModal' - s.version = '0.9.6' + s.version = '0.9.7' s.summary = 'HWPanModal is used to present controller and drag to dismiss.' # This description is used to generate tags and improve search results. diff --git a/Sources/View/PanModal/HWPanModalContentView.m b/Sources/View/PanModal/HWPanModalContentView.m index b7109bf..df15337 100644 --- a/Sources/View/PanModal/HWPanModalContentView.m +++ b/Sources/View/PanModal/HWPanModalContentView.m @@ -408,6 +408,7 @@ - (UIView *)findKeyWindow { } } } + return nil; } @end