Possible Fix for nullreference-exceptions

This commit is contained in:
Matthias Dittrich 2012-07-18 12:26:18 +02:00
parent 8ca3bd3b6b
commit 72ad9f5dc0

View file

@ -247,7 +247,7 @@ namespace SparkleShare {
return repo.ChangeSets;
}
return null;
return new List<SparkleChangeSet> ();
}
@ -259,7 +259,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;