forked from rosebudai/OpenRCT2-Web
Drop unused variables (#3586)
This commit is contained in:
1 parent
feb140b84c
commit
ca430e1b23
50 files changed
+15
-109
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user