[Webkit-unassigned] [Bug 192086] New: [GTK][WPE] Fix BubblewrapLauncher clang warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 28 10:18:52 PST 2018


            Bug ID: 192086
           Summary: [GTK][WPE] Fix BubblewrapLauncher clang warnings
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tpopela at redhat.com
                CC: bugs-noreply at webkitgtk.org

../../Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:474:37: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
    for (size_t i; splitPaths.get()[i]; ++i)
../../Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:474:18: note: initialize the variable 'i' to silence this warning
    for (size_t i; splitPaths.get()[i]; ++i)
                  = 0
../../Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:574:34: warning: missing field 'datum_b' initializer [-Wmissing-field-initializers]
    struct scmp_arg_cmp ttyArg = SCMP_A1(SCMP_CMP_EQ, (int)TIOCSTI);
/usr/include/seccomp.h:211:23: note: expanded from macro 'SCMP_A1'
#define SCMP_A1(...)            SCMP_CMP(1, __VA_ARGS__)
/usr/include/seccomp.h:201:58: note: expanded from macro 'SCMP_CMP'
#define SCMP_CMP(...)           ((struct scmp_arg_cmp){__VA_ARGS__})

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/20181128/ec23d9b1/attachment-0001.html>

More information about the webkit-unassigned mailing list