> On Jul 8, 2015, at 8:34 AM, Michael Layzell <mich...@thelayzells.com> wrote:
> 
> We're already working on a static analysis in 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1180993 which will prevent code 
> like that from passing try.
> 
> Hopefully that will help with your concerns.

Yes, that will solve the problem. This is a much better solution than 
MOZ_WARN_UNUSED_RESULT, which frankly just isn’t scalable enough given the 
pervasiveness of already_AddRefed in our codebase.

- Seth
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to