"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/

Avatar

jacob001

over 1 year ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.