[Webkit-unassigned] [Bug 98174] Unix plugin process: xErrorString does not need to be defined in release builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 2 10:25:02 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98174


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166707|review?                     |review+
               Flag|                            |




--- Comment #3 from Darin Adler <darin at apple.com>  2012-10-02 10:25:26 PST ---
(From update of attachment 166707)
View in context: https://bugs.webkit.org/attachment.cgi?id=166707&action=review

> Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp:54
> +#ifndef LOG_DISABLED
>  static const char* xErrorString = "The program '%s' received an X Window System error.\n"
>      "This probably reflects a bug in a browser plugin.\n"
>      "The error was '%s'.\n"
>      "  (Details: serial %ld error_code %d request_code %d minor_code %d)\n";
> +#endif /* !LOG_DISABLED */

Could also make this a bit more const. Either const char[] or const char* const.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list