From 3dea83eeef37e201a3a32d7824377a1a49c73964 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Aug 2012 19:06:16 +0300 Subject: Fix code style. --- src/gui/selldialog.cpp | 4 ++-- src/map.cpp | 1 - src/resources/colordb.cpp | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp index cb4fca993..eea0c86f1 100644 --- a/src/gui/selldialog.cpp +++ b/src/gui/selldialog.cpp @@ -78,8 +78,8 @@ void SellDialog::init() mShopItems = new ShopItems(true); mShopItemList = new ShopListBox(mShopItems, mShopItems); - mScrollArea = new ScrollArea(mShopItemList, getOptionBool("showbackground"), - "sell_background.xml"); + mScrollArea = new ScrollArea(mShopItemList, + getOptionBool("showbackground"), "sell_background.xml"); mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); mSlider = new Slider(1.0); diff --git a/src/map.cpp b/src/map.cpp index 7fdb9a1bd..6123332a2 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1124,7 +1124,6 @@ void Map::addExtraLayer() ss >> x; ss >> y; ss >> type1; - std::vector tokens; ss >> comment; while (ss >> buf) comment += " " + buf; diff --git a/src/resources/colordb.cpp b/src/resources/colordb.cpp index 4828ca388..7f7e0f0db 100644 --- a/src/resources/colordb.cpp +++ b/src/resources/colordb.cpp @@ -187,7 +187,6 @@ int ColorDB::getHairSize() std::map *ColorDB::getColorsList(std::string name) { - std::map colors; ColorListsIterator it = mColorLists.find(name); if (it != mColorLists.end()) -- cgit v1.2.3-70-g09d2