Cleanup: remove unused variable

This commit is contained in:
Campbell Barton
2024-04-23 18:18:47 +10:00
parent c30647a6fc
commit 07e365fcbf

View File

@@ -358,7 +358,6 @@ bool autokeyframe_property(bContext *C,
/* TODO: this should probably respect the keyingset only option for anim */
if (autokeyframe_cfra_can_key(scene, id)) {
ReportList *reports = CTX_wm_reports(C);
ToolSettings *ts = scene->toolsettings;
const eInsertKeyFlags flag = get_autokey_flags(scene);
const std::optional<std::string> path = RNA_path_from_ID_to_property(ptr, prop);