[tracker] tests: Remove unneeded parameter guard
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tests: Remove unneeded parameter guard
- Date: Tue, 14 Aug 2012 08:53:52 +0000 (UTC)
commit cd3bc46940b15fa8b4db32ef1b2ccf3f95cf0659
Author: JÃrg Billeter <j bitron ch>
Date: Tue Aug 14 10:51:27 2012 +0200
tests: Remove unneeded parameter guard
.../libtracker-miner/tracker-connection-mock.vala | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/libtracker-miner/tracker-connection-mock.vala b/tests/libtracker-miner/tracker-connection-mock.vala
index ebc18cf..f8ed123 100644
--- a/tests/libtracker-miner/tracker-connection-mock.vala
+++ b/tests/libtracker-miner/tracker-connection-mock.vala
@@ -36,9 +36,7 @@ public class TrackerMockResults : Tracker.Sparql.Cursor {
str = results[current_row, column];
- if (&length != null) {
- length = str.length;
- }
+ length = str.length;
return str;
}
@@ -96,4 +94,4 @@ public class TrackerMockConnection : Sparql.Connection {
this.results = results;
}
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]