← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 346: Fix one minor unnecessary allocation

 

------------------------------------------------------------
revno: 346
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bluebird
timestamp: Tue 2011-12-13 02:23:49 +0100
message:
  Fix one minor unnecessary allocation
modified:
  src/datamodel.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/datamodel.vala'
--- src/datamodel.vala	2011-12-11 19:44:41 +0000
+++ src/datamodel.vala	2011-12-13 01:23:49 +0000
@@ -389,7 +389,7 @@
             vb.add ("s", interpretation != null ? interpretation : "");
             vb.add ("s", manifestation != null ? manifestation : "");
             vb.add ("s", actor != null ? actor : "");
-            vb.add ("s", origin ?? "");
+            vb.add ("s", origin != null ? origin : "");
             vb.close ();
 
             vb.open (new VariantType ("aas"));