Skip to content

Commit 7ce23ae

Browse files
committed
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
1 parent 04ee2e5 commit 7ce23ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CLI/CLI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static void HandleAdditionalArgument(String args, List<String> messages)
144144
messages.Add(String.Format("File {0} doesn't exist. Not adding to the list of files to generate bindings from.", args));
145145
}
146146
}
147-
catch(Exception ex)
147+
catch(Exception)
148148
{
149149
messages.Add(String.Format("Error while looking for files inside path {0}. Ignoring.", args));
150150
}
@@ -183,7 +183,7 @@ static void GetFilesFromPath(String path, List<String> messages)
183183
options.HeaderFiles.Add(s);
184184
}
185185
}
186-
catch (Exception ex)
186+
catch (Exception)
187187
{
188188
messages.Add(String.Format("Error while looking for files inside path {0}. Ignoring.", path));
189189
}

0 commit comments

Comments
 (0)