Title: [238663] trunk/Source/WebKit
- Revision
- 238663
- Author
- [email protected]
- Date
- 2018-11-29 02:19:56 -0800 (Thu, 29 Nov 2018)
Log Message
[GTK][WPE] Fix BubblewrapLauncher clang warnings
https://bugs.webkit.org/show_bug.cgi?id=192086
Reviewed by Michael Catanzaro.
* UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
(WebKit::bindPathVar): Initialize the i variable to 0.
(WebKit::setupSeccomp): Initialize the optional datum_b member.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (238662 => 238663)
--- trunk/Source/WebKit/ChangeLog 2018-11-29 09:14:12 UTC (rev 238662)
+++ trunk/Source/WebKit/ChangeLog 2018-11-29 10:19:56 UTC (rev 238663)
@@ -1,3 +1,14 @@
+2018-11-29 Tomas Popela <[email protected]>
+
+ [GTK][WPE] Fix BubblewrapLauncher clang warnings
+ https://bugs.webkit.org/show_bug.cgi?id=192086
+
+ Reviewed by Michael Catanzaro.
+
+ * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
+ (WebKit::bindPathVar): Initialize the i variable to 0.
+ (WebKit::setupSeccomp): Initialize the optional datum_b member.
+
2018-11-28 Joseph Pecoraro <[email protected]>
Web Inspector: REGRESSION(?): all "Show *" develop menu items cause the page to crash
Modified: trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp (238662 => 238663)
--- trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp 2018-11-29 09:14:12 UTC (rev 238662)
+++ trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp 2018-11-29 10:19:56 UTC (rev 238663)
@@ -471,7 +471,7 @@
return false;
GUniquePtr<char*> splitPaths(g_strsplit(pathValue, ":", -1));
- for (size_t i; splitPaths.get()[i]; ++i)
+ for (size_t i = 0; splitPaths.get()[i]; ++i)
bindIfExists(args, splitPaths.get()[i]);
return true;
@@ -571,7 +571,7 @@
// https://git.gnome.org/browse/linux-user-chroot
// in src/setup-seccomp.c
struct scmp_arg_cmp cloneArg = SCMP_A0(SCMP_CMP_MASKED_EQ, CLONE_NEWUSER, CLONE_NEWUSER);
- struct scmp_arg_cmp ttyArg = SCMP_A1(SCMP_CMP_EQ, (int)TIOCSTI);
+ struct scmp_arg_cmp ttyArg = SCMP_A1(SCMP_CMP_EQ, static_cast<scmp_datum_t>(TIOCSTI), static_cast<scmp_datum_t>(0));
struct {
int scall;
struct scmp_arg_cmp* arg;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes