Removed warning for exception not in use.

Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
This commit is contained in:
Michele Cattafesta
2014-12-22 14:42:53 +01:00
parent 5c8f6de667
commit 8d5d8d8709

View File

@@ -718,7 +718,7 @@ namespace S7.Net
return Write(mDataType, 0, mByte, (byte)_byte);
}
}
catch (Exception ex)
catch
{
LastErrorCode = ErrorCode.WrongVarFormat;
LastErrorString = "The variable'" + variable + "' could not be parsed. Please check the syntax and try again.";