When you put caret at the highlighted place it should show "Variable charm
is assigned but never accessed" in the statusbar.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Ian Pojman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 6:37 PM
Subject: [Eap-list] Unused? reference


> I have the following code:
>
>                      char charm = (char) 0;
>                      try {
>                          do {
>                          } while (x++ < s.length() && (charm =
> s.charAt(x)) != '\t');
>                      } catch (StringIndexOutOfBoundsException sioob) {
>                          continue;
>                      }
>
> Now, IDEA lists "charm" as unused.  Is that right? I think it should no
> be highlighted as a warning, as it's integral to the code
>
> Ian
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to