Skip to content

Commit

Permalink
Eliminate warnings to issue Tencent#11
Browse files Browse the repository at this point in the history
  • Loading branch information
jundian committed Sep 22, 2018
1 parent d6d4017 commit 2be344f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iOS/MMKV/MMKV/aes/openssl/aes_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ static const u32 Te3[256] = {
0xb0b0cb7bU, 0x5454fca8U, 0xbbbbd66dU, 0x16163a2cU,
};

#pragma clang diagnostic push
#pragma clang diagnostic ignored"-Wunused-variable"
static const u32 Td0[256] = {
0x51f4a750U, 0x7e416553U, 0x1a17a4c3U, 0x3a275e96U,
0x3bab6bcbU, 0x1f9d45f1U, 0xacfa58abU, 0x4be30393U,
Expand Down Expand Up @@ -618,6 +620,7 @@ static const u8 Td4[256] = {
0x17U, 0x2bU, 0x04U, 0x7eU, 0xbaU, 0x77U, 0xd6U, 0x26U,
0xe1U, 0x69U, 0x14U, 0x63U, 0x55U, 0x21U, 0x0cU, 0x7dU,
};
#pragma clang diagnostic pop
static const u32 rcon[] = {
0x01000000, 0x02000000, 0x04000000, 0x08000000,
0x10000000, 0x20000000, 0x40000000, 0x80000000,
Expand Down

0 comments on commit 2be344f

Please sign in to comment.