Granted, eating exceptions in code is usually a bad idea. However, in the code I help maintain, compiler warnings ‘The variable ‘ex’ is declared but never used’ get generated by the following example:

try
{
// Code
}
catch (Exception ex)
{
// Eat exception
}

Leaving off the exception variable name will suppress the warning.

catch (Exception)
{
// Eat exception
}