auto merge of #1943 : lpy/servo/issue1933, r=jdm

see #1933
This commit is contained in:
bors-servo 2014-03-20 10:19:30 -04:00
commit 2fb8c84bac

View file

@ -2458,6 +2458,8 @@ class CGCallGenerator(CGThing):
call = CGWrapper(call, pre="result_fallible = ")
elif result is not None:
call = CGWrapper(call, pre="result = ")
else:
call = CGWrapper(call, pre="let _: () = ")
call = CGWrapper(call)
self.cgRoot.append(call)