Forums : Ohloh General Discussion

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

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/

jacob001 almost 14 years ago