Project
ReSharper
Priority
Major
Type
Usability Problem
Fix versions
Mirabile Futurum
State
Open
Assignee
Evgeny Pasynkov
Subsystem
Code Analysis - Control Flow
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Valentin Kipiatkov
    2 years ago (21 Jan 2010 20:06)
  • Updated by   Kirill Falk
    8 months ago (25 May 2011 18:02)
  • Jira: RSRP-149420
    (history, comments)
 
RSRP-149420 False "Value assigned is not used" is reported when using conditional methods
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
      PsiManager psiManager = PsiManager.GetInstance(myProjectFile.GetSolution());
      Logger.Assert(psiManager.HasActiveTransaction, "psiManager.HasActiveTransaction");


"psiManager" is reported as "Value is not used in any execution path". But what can user do with that? The variable cannot be removed, so there is no issue to report and it should not be reported.
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments