Skip to content

Commit

Permalink
fix(video-ads): clobber unused register
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Oct 10, 2022
1 parent d2a7f1c commit 403c858
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class VideoAdsPatch : BytecodePatch(
invoke-static { }, Lapp/revanced/integrations/patches/VideoAdsPatch;->shouldShowAds()Z
move-result v1
if-nez v1, :show_video_ads
new-instance v0, Ljava/util/ArrayList;
invoke-direct { v0 }, Ljava/util/ArrayList;-><init>()V
return-object v0
new-instance v3, Ljava/util/ArrayList;
invoke-direct { v3 }, Ljava/util/ArrayList;-><init>()V
return-object v3
""",
listOf(ExternalLabel("show_video_ads", method.instruction(0)))
)
Expand Down

0 comments on commit 403c858

Please sign in to comment.