You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Michael Oleske (Jira)" <ji...@apache.org> on 2021/09/22 18:55:00 UTC

[jira] [Created] (GEODE-9626) Field 'GeodeSessionStateCache._logger' is never assigned to, and will always have its default value null

Michael Oleske created GEODE-9626:
-------------------------------------

             Summary: 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


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.3.4#803005)