Skip to content

Commit

Permalink
Remove some unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Aug 20, 2013
1 parent 3a63782 commit f7eb335
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion iuse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static bool inscribe_item( game *g, player *p, std::string verb, std::string ger
}

std::map<std::string, std::string>::const_iterator ent = cut->item_vars.find("item_note");
std::map<std::string, std::string>::const_iterator entprefix = cut->item_vars.find("item_note_type");

bool hasnote = (ent != cut->item_vars.end());
std::string message = "";
std::string messageprefix = string_format( hasnote ? _("(To delete, input one '.')\n") : "" ) +
Expand Down
1 change: 0 additions & 1 deletion sdlcurse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ bool fexists(const char *filename)
//Registers, creates, and shows the Window!!
bool WinCreate()
{
const SDL_VideoInfo* video_info;
int init_flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER;

if(SDL_Init(init_flags) < 0)
Expand Down

0 comments on commit f7eb335

Please sign in to comment.