summaryrefslogtreecommitdiffstats
path: root/test/socket_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-28 22:57:52 -0400
committerDavid Robillard <d@drobilla.net>2022-06-28 23:10:11 -0400
commitcde85f3f450f7c3f12e1f7c4a70cb374e4756319 (patch)
treea7c29860f761f0876d753c85856f88d8993f6643 /test/socket_test.cpp
parent5f12264cddac578f74dee7e12411c57eed4d3eae (diff)
downloadraul-cde85f3f450f7c3f12e1f7c4a70cb374e4756319.tar.gz
raul-cde85f3f450f7c3f12e1f7c4a70cb374e4756319.tar.bz2
raul-cde85f3f450f7c3f12e1f7c4a70cb374e4756319.zip
Remove redundant `struct` keys
Because this is C++ code, GCC 12 says things like: Socket.hpp:166:24: error: redundant class-key ‘struct’ in reference to ‘struct sockaddr_un’ [-Werror=redundant-tags]
Diffstat (limited to 'test/socket_test.cpp')
-rw-r--r--test/socket_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket_test.cpp b/test/socket_test.cpp
index 964a8ae..da05c40 100644
--- a/test/socket_test.cpp
+++ b/test/socket_test.cpp
@@ -47,7 +47,7 @@ main()
int status = 0;
waitpid(child_pid, &status, 0);
- struct pollfd pfds[2];
+ pollfd pfds[2];
pfds[0].fd = unix_server_sock.fd();
pfds[0].events = POLLIN;
pfds[0].revents = 0;