Don't declare unused exceptions (warning fix)

This commit is contained in:
baldurk
2015-07-07 19:20:41 +02:00
parent f6527107dc
commit de25800794
+3 -3
View File
@@ -473,7 +473,7 @@ namespace renderdocui.Windows
data.panelLayout = File.ReadAllText(path, enc);
File.Delete(path);
}
catch (System.Exception ex)
catch (System.Exception)
{
// can't recover
return writer.ToString();
@@ -659,7 +659,7 @@ namespace renderdocui.Windows
});
});
}
catch (System.Exception ex)
catch (System.Exception)
{
// just continue, skip this file
}
@@ -710,7 +710,7 @@ namespace renderdocui.Windows
{
File.WriteAllText(path, src);
}
catch (System.Exception ex)
catch (System.Exception)
{
// ignore this file
}