fix some issues that are detected by PVS-studio team

This commit is contained in:
Jinhao
2016-07-14 00:41:34 +08:00
parent 31455aa165
commit 0a0fab679b
3 changed files with 4 additions and 5 deletions

View File

@@ -665,8 +665,7 @@ namespace nana{ namespace widgets{ namespace skeletons
case token::eof:
return;
default:
int * debug = 0; //for debug.
*debug = 0;
throw std::runtime_error("invalid token");
}
}
}