From 3d744380a87df8de5fe4646cfe04f1bcbd702ccb Mon Sep 17 00:00:00 2001
From: Alexandr <a.lyapunov@corp.mail.ru>
Date: Mon, 23 Jun 2014 12:38:40 +0400
Subject: [PATCH] minor fixes

---
 cmake/BuildLibEIO.cmake   | 2 +-
 src/box/authentication.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/BuildLibEIO.cmake b/cmake/BuildLibEIO.cmake
index 3d93759eff..582c96fe17 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 fed6a96c2c..5cedb827b1 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))
-- 
GitLab