------------------------------------------------------------
revno: 251
committer: Siegfried-Angel Gevatter Pujals <[email protected]>
branch nick: bluebird
timestamp: Sat 2011-09-17 09:57:44 +0200
message:
Make some code nicer.
modified:
src/engine.vala
--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch
lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/engine.vala'
--- src/engine.vala 2011-09-16 23:45:36 +0000
+++ src/engine.vala 2011-09-17 07:57:44 +0000
@@ -656,9 +656,7 @@
manifestations_table.get_id (event.manifestation));
insert_stmt.bind_int64 (5, actors_table.get_id (event.actor));
insert_stmt.bind_text (6, event.origin);
- if (payload_id == null)
- payload_id = 0;
- insert_stmt.bind_int64 (7, payload_id);
+ insert_stmt.bind_int64 (7, payload_id ?? 0);
for (int i = 0; i < event.num_subjects(); ++i)
{
_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to : [email protected]
Unsubscribe : https://launchpad.net/~zeitgeist
More help : https://help.launchpad.net/ListHelp