From cbcee0a41e517d808c339ddaa41d86d1afc808ff Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Fri, 11 Jul 2025 11:00:05 +0100 Subject: [PATCH] - removed unnecessary variable initialization --- dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs b/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs index 1c021b26..be9251b4 100644 --- a/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs +++ b/dotnet/IEC61850forCSharp/IEC61850ServerAPI.cs @@ -2207,7 +2207,7 @@ namespace IEC61850 [DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)] static extern void LogStorage_destroy(IntPtr self); - private IntPtr self = IntPtr.Zero; + private IntPtr self; internal IntPtr GetNativeInstance() { @@ -2228,7 +2228,7 @@ namespace IEC61850 { return LogStorage_getMaxLogEntries(self); } - public int AddEntry(long time) + public int AddEntry(long time) { return LogStorage_addEntry(self, time); }