Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r59102:89eebf6257d9
Date: 2012-11-27 18:57 -0800
http://bitbucket.org/pypy/pypy/changeset/89eebf6257d9/

Log:    fix a compile error and warnings

diff --git a/pypy/translator/cli/src/pypylib.cs 
b/pypy/translator/cli/src/pypylib.cs
--- a/pypy/translator/cli/src/pypylib.cs
+++ b/pypy/translator/cli/src/pypylib.cs
@@ -495,7 +495,7 @@
             try {
                 return Double.Parse(s.Trim());
             }
-            catch(FormatException e) {
+            catch (FormatException) {
                 Helpers.raise_ValueError();
                 return -1;
             }
@@ -555,7 +555,7 @@
                 BinaryFormatter formatter = new BinaryFormatter();
                 return formatter.Deserialize(fs);
             }
-            catch (FileNotFoundException e) {
+            catch (FileNotFoundException) {
                 return null;
             }
             catch (SerializationException e) {
@@ -842,7 +842,7 @@
 
         public void _ll_resize_hint(int length)
         {
-            this.Capacity(length);
+            this.Capacity = length;
         }
 
         public void _ll_resize_ge(int length)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to