From 8db100032747cdeed5fa170200badecaffbc2179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=88=80=E5=92=8C=E9=95=BF=E5=89=91?= Date: Fri, 19 Jun 2020 15:18:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E9=87=8F=20reJson=20=E8=B5=8B?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 Assets\Plugins\JPushBinding.cs(276,25): error CS0165: Use of unassigned local variable 'reJson' 错误。 --- Plugins/JPushBinding.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/JPushBinding.cs b/Plugins/JPushBinding.cs index da09f16..ad42846 100644 --- a/Plugins/JPushBinding.cs +++ b/Plugins/JPushBinding.cs @@ -266,7 +266,7 @@ public static void GetAlias(int sequence) public static List FilterValidTags(List jsonTags) { string tagsJsonStr = JsonHelper.ToJson(jsonTags); - string reJson; + string reJson = null; #if UNITY_ANDROID reJson = _plugin.Call("filterValidTags", tagsJsonStr);