소스 검색

Fix copy/paste error in unit test

bel 9 년 전
부모
커밋
4bc859d665
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      test/public_server.c

+ 2 - 2
test/public_server.c

@@ -103,7 +103,7 @@ wait_not_null(void *volatile *data)
 
 #ifdef __clang__
 #pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code
+#pragma clang diagnostic ignored "-Wunreachable-code"
 #endif
 
 	ck_abort_msg("wait_not_null failed");
@@ -626,7 +626,7 @@ websock_server_data(struct mg_connection *conn,
 	} else {
 #ifdef __clang__
 #pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunreachable-code
+#pragma clang diagnostic ignored "-Wunreachable-code"
 #endif
 
 		ck_abort_msg("Got unexpected message from websocket client");