From e855710cfa43b2ca659eea861532dbd77a698c75 Mon Sep 17 00:00:00 2001 From: yashen Date: Wed, 29 Mar 2017 14:34:31 +0800 Subject: [PATCH] Fix warning --- B3WeChat.Web/B3WeChat.Web.csproj | 1 + B3WeChat/B3WeChat.csproj | 1 + B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs | 1 - B3WeChat/Utils/XmlUtil.cs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/B3WeChat.Web/B3WeChat.Web.csproj b/B3WeChat.Web/B3WeChat.Web.csproj index eedca27..f0adae1 100644 --- a/B3WeChat.Web/B3WeChat.Web.csproj +++ b/B3WeChat.Web/B3WeChat.Web.csproj @@ -21,6 +21,7 @@ DEBUG;TRACE prompt 4 + true pdbonly diff --git a/B3WeChat/B3WeChat.csproj b/B3WeChat/B3WeChat.csproj index 65a25d5..a7a2bad 100644 --- a/B3WeChat/B3WeChat.csproj +++ b/B3WeChat/B3WeChat.csproj @@ -21,6 +21,7 @@ DEBUG;TRACE prompt 4 + true pdbonly diff --git a/B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs b/B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs index e334906..a3aed2e 100644 --- a/B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs +++ b/B3WeChat/Tasks/ClearExpiredApproveMessagesTask.cs @@ -6,7 +6,6 @@ using System.Linq; using System.Text; using TSingSoft.WebPluginFramework; using TSingSoft.WebPluginFramework.TimerTasks; -using TSingSoft.WebPluginFramework; namespace BWP.B3WeChat.Tasks { public class ClearExpiredApproveMessagesTask diff --git a/B3WeChat/Utils/XmlUtil.cs b/B3WeChat/Utils/XmlUtil.cs index 6f649e8..878bb26 100644 --- a/B3WeChat/Utils/XmlUtil.cs +++ b/B3WeChat/Utils/XmlUtil.cs @@ -29,7 +29,7 @@ namespace BWP.B3WeChat.Utils return xmldes.Deserialize(sr); } } - catch (Exception e) + catch (Exception) { return null;