[Webkit-unassigned] [Bug 185611] [GTK][WPE]: Avoid trying to getenv with an unset varname

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 14 23:54:24 PDT 2018


Zan Dobersek <zan at falconsigh.net> changed:

           What    |Removed                     |Added
                 CC|                            |zan at falconsigh.net

--- Comment #5 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 340313
  --> https://bugs.webkit.org/attachment.cgi?id=340313
[GTK][WPE]: Avoid trying to getenv with an unset varname

The early return would fit better inside the switch statement, under the default label. OTOH all the possible values of the ProcessType enum are handled there, so that's a soft guarantee that the early return isn't required at all.

Is this suppressing any real-world problem?

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180515/b9ebecc6/attachment.html>

More information about the webkit-unassigned mailing list