[ 
https://issues.apache.org/jira/browse/GEODE-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418784#comment-17418784
 ] 

Michael Oleske commented on GEODE-9626:
---------------------------------------

This may be a duplicate of https://issues.apache.org/jira/browse/GEODE-9609 but 
that issue has no description

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

Reply via email to