From 3629e32c0818c8e1dd6db5ecda4560973481de73 Mon Sep 17 00:00:00 2001 From: EAlexa Date: Tue, 7 Apr 2020 16:36:48 +0200 Subject: [PATCH] remove unused variable --- Misc/heap_sort.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Misc/heap_sort.java b/Misc/heap_sort.java index 5222be409..cf44b2b5a 100644 --- a/Misc/heap_sort.java +++ b/Misc/heap_sort.java @@ -57,8 +57,7 @@ public class heap_sort { // Driver program public static void main(String args[]) { int arr[] = {12, 11, 13, 5, 6, 7}; - int n = arr.length; - + heap_sort ob = new heap_sort(); ob.sort(arr);