[libgames-support] Experimenting with code style....
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] Experimenting with code style....
- Date: Sun, 14 Feb 2016 22:00:45 +0000 (UTC)
commit 68dc336b9d54fcaf35c9d26a2dc0de2a6fe427ac
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sun Feb 14 14:42:24 2016 -0600
Experimenting with code style....
games/scores/context.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/games/scores/context.vala b/games/scores/context.vala
index d6a75af..584cd2c 100644
--- a/games/scores/context.vala
+++ b/games/scores/context.vala
@@ -264,7 +264,6 @@ public class Context : Object
if (error != null)
throw error;
-
return ret;
}
@@ -279,7 +278,6 @@ public class Context : Object
var scores_of_single_category = new Gee.PriorityQueue<Score> ((owned) scorecmp);
var stream = FileStream.open (filename, "r");
string line;
-
while ((line = stream.read_line ()) != null)
{
var tokens = line.split (" ", 3);
@@ -320,13 +318,11 @@ public class Context : Object
}
var directory = File.new_for_path (user_score_dir);
-
if (!directory.query_exists ())
return;
var enumerator = directory.enumerate_children (FileAttribute.STANDARD_NAME, 0);
FileInfo file_info;
-
while ((file_info = enumerator.next_file ()) != null)
{
load_scores_from_file (file_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]