From 52c7195a8ee91f95ef134d9798a47ea313df16c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Oct 2013 17:35:24 +0300 Subject: Second part of checks from Parasoft C++ Test. --- src/commands.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 8cb71739b..2119bdb50 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -146,11 +146,8 @@ static void changeRelation(const std::string &args, if (args.empty()) { - if (tab) - { - // TRANSLATORS: change relation - tab->chatLog(_("Please specify a name."), BY_SERVER); - } + // TRANSLATORS: change relation + tab->chatLog(_("Please specify a name."), BY_SERVER); return; } -- cgit v1.2.3-60-g2f50