Code quality fixes (NullReference checks, unused variables etc)

This commit is contained in:
RKrom 2014-04-26 00:34:06 +02:00
parent 6ab6033f85
commit ac08533727
99 changed files with 1252 additions and 1312 deletions

View file

@ -40,7 +40,7 @@ namespace GreenshotPlugin.Core {
}
// Don't serialize a null object, simply return the default for that object
if (Object.ReferenceEquals(source, null)) {
if (ReferenceEquals(source, null)) {
return default(T);
}