summaryrefslogtreecommitdiff
path: root/view/sharedcache/workflow/SharedCacheWorkflow.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-02 09:00:27 -0400
committerMason Reed <mason@vector35.com>2025-04-02 10:27:32 -0400
commit1df51b212d4b91fdac6d15c9cb4aac759b94394a (patch)
tree783c3e796e1acd5d2f1a8e8636dae539a355f01d /view/sharedcache/workflow/SharedCacheWorkflow.cpp
parent3fddd350deb670ede85a59d9213296f1f9618920 (diff)
[SharedCache] Misc formatting
Diffstat (limited to 'view/sharedcache/workflow/SharedCacheWorkflow.cpp')
-rw-r--r--view/sharedcache/workflow/SharedCacheWorkflow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/view/sharedcache/workflow/SharedCacheWorkflow.cpp b/view/sharedcache/workflow/SharedCacheWorkflow.cpp
index b364ea2f..766164b8 100644
--- a/view/sharedcache/workflow/SharedCacheWorkflow.cpp
+++ b/view/sharedcache/workflow/SharedCacheWorkflow.cpp
@@ -171,8 +171,7 @@ void AnalyzeStubFunction(Ref<Function> func, Ref<MediumLevelILFunction> mlil, Sh
{
// First load the stub island, if we _do_ load the stub island stop and reanalyze for constant propagation.'
const auto islandPtr = expr.GetConstant<MLIL_CONST_PTR>();
- auto loaded = loadTarget(islandPtr);
- if (loaded)
+ if (loadTarget(islandPtr))
return;
// We have been promoted to the target pointer here!
const auto targetPtr = islandPtr;
@@ -190,7 +189,7 @@ void AnalyzeStubFunction(Ref<Function> func, Ref<MediumLevelILFunction> mlil, Sh
{
case MLIL_CONST_PTR:
// NOTE: This runs every single function update.
- func->SetAutoInlinedDuringAnalysis(true);
+ func->SetAutoInlinedDuringAnalysis(true);
break;
default:
break;