diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index 1c5638f3c52e2f6843a76dcb3e470db6f6c4fda1..8764611adf460583730b3b553c4e6906a3463d28 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -413,18 +413,18 @@ static int process_all_tables_in_db(char *database)
   LINT_INIT(res);
   if (use_db(database))
     return 1;
-  if (!(mysql_query(sock, "SHOW TABLES") ||
-	(res = mysql_store_result(sock))))
+  if (mysql_query(sock, "SHOW TABLES") ||
+	!((res= mysql_store_result(sock))))
     return 1;
 
   if (opt_all_in_1)
   {
-    /* 
+    /*
       We need table list in form `a`, `b`, `c`
       that's why we need 4 more chars added to to each table name
       space is for more readable output in logs and in case of error
      */
-	  
+
     char *tables, *end;
     uint tot_length = 0;