Silenced unused-const-variables for test cases.

This commit is contained in:
Armin Novak 2019-02-21 14:01:42 +01:00
parent 3680d9f7d2
commit dfb4a411d4
2 changed files with 6 additions and 0 deletions

View File

@ -3,11 +3,14 @@
#include <freerdp/codec/clear.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-const-variable"
/* [MS-RDPEGFX] 4.1.1.1 Example 1 */
static const BYTE PREPARE_CLEAR_EXAMPLE_1[] =
"\x03\xc3\x11\x00";
static const BYTE TEST_CLEAR_EXAMPLE_1[] =
"\x03\xc3\x11\x00";
#pragma GCC diagnostic pop
/* [MS-RDPEGFX] 4.1.1.1 Example 2 */
static const BYTE TEST_CLEAR_EXAMPLE_2[] =

View File

@ -21,9 +21,12 @@ static const char TEST_MSRC_INCIDENT_FILE_TYPE1[] =
"L=\"0\" />"
"</UPLOADINFO>";
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-const-variable"
static const BYTE TEST_MSRC_INCIDENT_EXPERT_BLOB_TYPE1[32] =
"\x3C\x9C\xAE\x0B\xCE\x7A\xB1\x5C\x8A\xAC\x01\xD6\x76\x04\x5E\xDF"
"\x3F\xFA\xF0\x92\xE2\xDE\x36\x8A\x20\x17\xE6\x8A\x0D\xED\x7C\x90";
#pragma GCC diagnostic pop
static const char TEST_MSRC_INCIDENT_PASSWORD_TYPE2[] = "48BJQ853X3B4";