diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/selldialog.cpp | 4 | ||||
-rw-r--r-- | src/map.cpp | 1 | ||||
-rw-r--r-- | 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<int> 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 <int, ColorDB::ItemColor> *ColorDB::getColorsList(std::string name) { - std::map <int, ItemColor> colors; ColorListsIterator it = mColorLists.find(name); if (it != mColorLists.end()) |