diff --git a/cmake/BuildLibEIO.cmake b/cmake/BuildLibEIO.cmake index 3d93759effda0998bbcc7e9a5fad75768aa5a6f5..582c96fe17887e4a8c93819a596b027b971d71ad 100644 --- a/cmake/BuildLibEIO.cmake +++ b/cmake/BuildLibEIO.cmake @@ -3,7 +3,7 @@ macro(libeio_build) set(eio_compile_flags) - set(eio_compile_flags "${eio_compile_flags} -Wno-unused-value") + set(eio_compile_flags "${eio_compile_flags} -Wno-unused-result") set(eio_compile_flags "${eio_compile_flags} -Wno-dangling-else") set(eio_compile_flags "${eio_compile_flags} -DENABLE_BUNDLED_LIBEIO=1") set(eio_compile_flags "${eio_compile_flags} -DEIO_STACKSIZE=0") diff --git a/src/box/authentication.cc b/src/box/authentication.cc index fed6a96c2ca0d5d7e13456cba477070fde853241..5cedb827b1a7806d5e9c54b3ab894f2d6388d594 100644 --- a/src/box/authentication.cc +++ b/src/box/authentication.cc @@ -52,7 +52,7 @@ authenticate(const char *user_name, uint32_t len, if (scramble_len != SCRAMBLE_SIZE) { /* Authentication mechanism, data. */ tnt_raise(ClientError, ER_INVALID_MSGPACK, - "scramble is too short"); + "invalid scramble size"); } if (scramble_check(scramble, session->salt, user->hash2))