You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ernest Burghardt (Jira)" <ji...@apache.org> on 2022/02/17 15:25:00 UTC
[jira] [Resolved] (GEODE-9626) Field 'GeodeSessionStateCache._logger' is never assigned to, and will always have its default value null
[ https://issues.apache.org/jira/browse/GEODE-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernest Burghardt resolved GEODE-9626.
-------------------------------------
Resolution: Abandoned
> Field 'GeodeSessionStateCache._logger' is never assigned to, and will always have its default value null
> --------------------------------------------------------------------------------------------------------
>
> Key: GEODE-9626
> URL: https://issues.apache.org/jira/browse/GEODE-9626
> Project: Geode
> Issue Type: Task
> Components: native client
> Reporter: Michael Oleske
> Priority: Major
>
> When I run {{cmake --build}}
> Then I see no warnings in NetCoreBuilds
> Notes: When running {{cmake --build}}, there is a warning that pops up in NetCoreSessionState.cs
> {{NetCoreSessionState.cs(77,45): warning CS0649: Field 'GeodeSessionStateCache._logger' is never assigned to, and will always have its default value null [/Users/pivotal/workspace/geode-native/netcore/netcore-session/netcore-session.csproj]}}
> {{ 1 Warning(s)}}
> {{ 0 Error(s)}}
> It seems that {{_logger}} is used, but never initialized. I thought about deleting it but it looks like the logs would be useful. I'm not sure what to initialize it to since I'm outta practice on my c# skills
--
This message was sent by Atlassian Jira
(v8.20.1#820001)