Merge pull request #866 from matthid/Byron_Null

Possible Fix for nullreference-exceptions
This commit is contained in:
Hylke Bons 2012-07-18 09:55:21 -07:00
commit a00e5d406c

View file

@ -222,7 +222,7 @@ namespace SparkleShare {
return repo.ChangeSets;
}
return null;
return new List<SparkleChangeSet> ();
}
@ -234,7 +234,7 @@ namespace SparkleShare {
change_sets.Reverse ();
if (change_sets.Count == 0)
return null;
return "";
foreach (SparkleChangeSet change_set in change_sets) {
bool change_set_inserted = false;