From 28f0a592495a69eae8e308dfd72c1561f634bab6 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 4 Jul 2008 16:41:17 +0000 Subject: [PATCH] Removed two warnings. --- Source/Utilities/Audio/AudioReader.cs | 2 +- Source/Utilities/Audio/WaveReader.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Utilities/Audio/AudioReader.cs b/Source/Utilities/Audio/AudioReader.cs index 83c7dcbd..07ac3a4a 100644 --- a/Source/Utilities/Audio/AudioReader.cs +++ b/Source/Utilities/Audio/AudioReader.cs @@ -86,7 +86,7 @@ namespace OpenTK.Audio } } } - catch (Exception e) + catch (Exception) { s.Close(); throw; diff --git a/Source/Utilities/Audio/WaveReader.cs b/Source/Utilities/Audio/WaveReader.cs index ce5f5230..1f09b4bd 100644 --- a/Source/Utilities/Audio/WaveReader.cs +++ b/Source/Utilities/Audio/WaveReader.cs @@ -191,7 +191,7 @@ namespace OpenTK.Audio //return new SoundData(decoded_data, new SoundFormat(channels, bits_per_sample, sample_rate)); return decoded_data; } - catch (AudioReaderException e) + catch (AudioReaderException) { reader.Close(); throw;