Remove compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-11-18 05:54:14 +00:00
parent 18dcbae738
commit 4959703ec3

View File

@ -149,6 +149,7 @@ void Challenge::addUnlockKartReward(const std::string &internal_name,
}
catch (std::exception& e)
{
(void)e; // avoid compiler warning
throw std::runtime_error(StringUtils::insertValues("Challenge refers to unknown kart <%s>", internal_name.c_str()));
}