fix build warning
gcc -c -o server.o server.c gcc -c -o client.o client.c client.c:40:53: warning: if statement has empty body [-Wempty-body] if (write(sockfd, (byte*)&req, sizeof(Request))); ^ client.c:40:53: note: put the semicolon on a separate line to silence this warning client.c:45:53: warning: if statement has empty body [-Wempty-body] if (read(sockfd, (byte*)&res, sizeof(Response))); ^ client.c:45:53: note: put the semicolon on a separate line to silence this warning 2 warnings generated. server.c:91:51: warning: if statement has empty body [-Wempty-body] if (read(comm_fd, (byte*)&req, sizeof(Request))); ^ server.c:91:51: note: put the semicolon on a separate line to silence this warning server.c:115:55: warning: if statement has empty body [-Wempty-body] if (write(comm_fd, (byte*)&res, sizeof(Response))); ^ server.c:115:55: note: put the semicolon on a separate line to silence this warning
Signed-off-by: Junbo Zheng [email protected]