Removed all warnings

This commit is contained in:
kay.one 2011-06-19 13:43:47 -07:00
commit 8b484601f6
8 changed files with 33 additions and 13 deletions

View file

@ -139,7 +139,7 @@ namespace NzbDrone.Web.Controllers
return new JsonResult { Data = "ok" };
}
catch (Exception ex)
catch (Exception)
{
return new JsonResult { Data = "failed" };
}

View file

@ -50,7 +50,7 @@ namespace NzbDrone.Web.Controllers
return new SelectList(dirs, dirs.FirstOrDefault());
}
}
catch(Exception ex)
catch
{
//Swallow the exceptions so proper JSON is returned to the client (Empty results)
}