Skip to content

Commit 55ee445

Browse files
committed
use rack-like var names
Signed-off-by: falkTX <falktx@falktx.com>
1 parent d8966a9 commit 55ee445

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/plugins.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,9 +1076,9 @@ struct StaticPluginLoader {
10761076
if (!string::startsWith(version, APP_VERSION_MAJOR + "."))
10771077
{
10781078
// force ABI, we use static plugins so this doesnt matter as long as it builds
1079-
json_t* json_version = json_string((APP_VERSION_MAJOR + ".0").c_str());
1080-
json_object_set(rootJ, "version", json_version);
1081-
json_decref(json_version);
1079+
json_t* const versionJ = json_string((APP_VERSION_MAJOR + ".0").c_str());
1080+
json_object_set(rootJ, "version", versionJ);
1081+
json_decref(versionJ);
10821082
}
10831083

10841084
// Load manifest

0 commit comments

Comments
 (0)