]> source.dussan.org Git - tigervnc.git/commitdiff
remove unused variables
authorBrian Hinz <bphinz@users.sourceforge.net>
Wed, 24 Aug 2011 02:39:12 +0000 (02:39 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Wed, 24 Aug 2011 02:39:12 +0000 (02:39 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4659 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tigervnc/vncviewer/OptionsDialog.java
java/src/com/tigervnc/vncviewer/ServerDialog.java

index dac39189555f04895ed30095ff120576b13efe63..f64ed68290dd70f9c25cc05ccdf0cac2e4d50dc1 100644 (file)
@@ -53,7 +53,6 @@ class OptionsDialog extends Dialog implements
   JButton okButton, cancelButton;
   JButton ca, crl;
   JButton defSaveButton;
-  boolean encryption = true; 
   UserPrefs defaults;
 
   public OptionsDialog(OptionsDialogCallback cb_) { 
index e38085a17967279724da053aa7c5558ce11be8b9..32f6f88808b35d9ad6b5a3b9b2a16618f6279f78 100644 (file)
@@ -112,9 +112,6 @@ class ServerDialog extends Dialog implements
 
   public void itemStateChanged(ItemEvent e) {
     Object s = e.getSource();
-    if (s instanceof JComboBox && (JComboBox)s == encryption) {
-      options.encryption=(encryption.getSelectedIndex()==1) ? false : true;
-    }
   }
 
   public void actionPerformed(ActionEvent e) {