[Webkit-unassigned] [Bug 175799] New: [WPE][GTK] Unused variables in UserMediaProcessManager.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 21 17:19:59 PDT 2017


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

            Bug ID: 175799
           Summary: [WPE][GTK] Unused variables in
                    UserMediaProcessManager.cpp
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

Building the GTK+ port (or the WPE one) with Clang results in:

  ../../Source/WebKit/UIProcess/UserMediaProcessManager.cpp:33:26: warning: unused variable 'audioExtensionPath' [-Wunused-const-variable]
  static const char* const audioExtensionPath = "com.apple.webkit.microphone";
                           ^
  ../../Source/WebKit/UIProcess/UserMediaProcessManager.cpp:34:26: warning: unused variable 'videoExtensionPath' [-Wunused-const-variable]
  static const char* const videoExtensionPath = "com.apple.webkit.camera";
                           ^
  2 warnings generated.

These variables should be guarded by “#if ENABLE(SANDBOX_EXTENSIONS)”.

-- 
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/20170822/5e4bae36/attachment-0001.html>


More information about the webkit-unassigned mailing list