From 7ce23aebc092a7cd216beb1c1424b0357fdcf38d Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Sun, 5 Feb 2017 01:45:43 +0000 Subject: [PATCH] Clean up compilation warnings. ../../../src/CLI/CLI.cs(147,29): warning CS0168: The variable `ex' is declared but never used ../../../src/CLI/CLI.cs(186,30): warning CS0168: The variable `ex' is declared but never used --- src/CLI/CLI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CLI/CLI.cs b/src/CLI/CLI.cs index 2d19998e..61dbac6b 100644 --- a/src/CLI/CLI.cs +++ b/src/CLI/CLI.cs @@ -144,7 +144,7 @@ namespace CppSharp messages.Add(String.Format("File {0} doesn't exist. Not adding to the list of files to generate bindings from.", args)); } } - catch(Exception ex) + catch(Exception) { messages.Add(String.Format("Error while looking for files inside path {0}. Ignoring.", args)); } @@ -183,7 +183,7 @@ namespace CppSharp options.HeaderFiles.Add(s); } } - catch (Exception ex) + catch (Exception) { messages.Add(String.Format("Error while looking for files inside path {0}. Ignoring.", path)); }