All pastes #2075794 Raw Edit

Stuff

public text v1 · immutable
#2075794 ·published 2011-06-06 22:34 UTC
rendered paste body
From 2a298a573205d4dd079dd693e998f8559ecb9b71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org>
Date: Mon, 6 Jun 2011 23:32:35 +0100
Subject: [PATCH] fix unusued variable (argument) warning

---
 SparkleShare/SparkleController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs
index bdb6e44..387e23c 100644
--- a/SparkleShare/SparkleController.cs
+++ b/SparkleShare/SparkleController.cs
@@ -685,7 +685,7 @@ namespace SparkleShare {
                 foreach (DirectoryInfo directory in parent.GetDirectories())
                     size += CalculateFolderSize (directory);
 
-            } catch (DirectoryNotFoundException e) {
+            } catch (DirectoryNotFoundException) {
                 return 0;
             }
 
--