Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions examples/seccheck/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ package(
cc_binary(
name = "server_cc",
srcs = ["server.cc"],
# gcc reports the false warning:
# examples/seccheck/server.cc:147:19: error: 'buf' may be used uninitialized
# More details are here:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831
copts = [
"-Wno-maybe-uninitialized",
"-Wno-unknown-warning-option",
],
visibility = ["//:sandbox"],
deps = [
# any_cc_proto placeholder,
Expand Down
6 changes: 0 additions & 6 deletions test/syscalls/linux/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -1823,9 +1823,6 @@ cc_binary(
name = "poll_test",
testonly = 1,
srcs = ["poll.cc"],
copts = [
"-Wno-unknown-warning-option",
],
linkstatic = 1,
malloc = "//test/util:errno_safe_allocator",
deps = select_gtest() + [
Expand Down Expand Up @@ -4412,9 +4409,6 @@ cc_binary(
name = "uidgid_test",
testonly = 1,
srcs = ["uidgid.cc"],
copts = [
"-Wno-unknown-warning-option",
],
linkstatic = 1,
malloc = "//test/util:errno_safe_allocator",
deps = select_gtest() + [
Expand Down
1 change: 0 additions & 1 deletion test/syscalls/linux/poll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class PollTest : public BasePollTest {

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnonnull"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
TEST_F(PollTest, InvalidFds) {
// fds is invalid because it's null, but we tell ppoll the length is non-zero.
EXPECT_THAT(poll(nullptr, 1, 1), SyscallFailsWithErrno(EFAULT));
Expand Down
Loading