1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Drop unused variables (#3586)

This commit is contained in:
janisozaur
2016-05-13 19:21:58 +02:00
committed by Ted John
parent feb140b84c
commit ca430e1b23
50 changed files with 15 additions and 109 deletions

View File

@@ -414,7 +414,6 @@ UITheme * UITheme::FromJson(const json_t * json)
}
json_t * jsonEntries = json_object_get(json, "entries");
size_t numEntries = json_object_size(jsonEntries);
UITheme * result = nullptr;
try
@@ -436,7 +435,6 @@ UITheme * UITheme::FromJson(const json_t * json)
const char * jkey;
json_t * jvalue;
size_t i = 0;
json_object_foreach(jsonEntries, jkey, jvalue)
{
const WindowThemeDesc * wtDesc = GetWindowThemeDescriptor(jkey);