Forums : Ohloh General Discussion

Wrong unused reference warning

avatar

Posted on Oct 1, 2011 (permalink) Hi,

using VB.net, when coding this:

                        Dim parameterValue As Object

                        If Not dictionary.ContainsKey(queryPart.Replace("@", "")) Then
                            ...
                        Else
                            parameterValue = dictionary.Item(queryPart)
                        End If

JustCode tells me that "the variable 'parameterValue' is only assigned to", which is not correct.

Regards, Jacob http://www.esparkinfo.com/

C880ecdc9cd75b47c467572b2e0874e8?&s=32&rating=pg&d=https%3a%2f%2fwww

jacob001

over 3 years ago
 

Post a Response