Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-262165: 'Remove not accessed Local variable' quick-fix produces non-compilable code

$
0
0
Reporter resharper_user1 (resharper_user1) resharper_user1 (resharper_user1)
Created May 6, 2011 1:04:03 PM
Updated Mar 27, 2012 5:03:10 PM
Priority Critical
Type Bug
Fix versions 7.0
State Open
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Try to remove "sqlghi"...

Public Overrides Function GenerateSQLClause(ByVal abc As String, ByVal def As String, ByVal ghi As String, ByVal jkl As String) As String

Dim sqlabc As String = ""

Dim sqlghi As String = ""

Dim sqljkl As String = ""

If abc.Length > 0 Then sqlabc = " AND ABC='" & abc & "' "

If ghi.Length > 0 Then sqlghi = " AND GHI IN(" & ghi & ") "

If Not String.IsNullOrEmpty(jkl) Then sqljkl = " AND JKL IN (" & jkl & ") " '

Return sqlabc

End Function

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>