Răsfoiți Sursa

Removed unused variable.

David Piuva 11 luni în urmă
părinte
comite
5f461ead94
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      Source/DFPSR/base/heap.cpp

+ 0 - 1
Source/DFPSR/base/heap.cpp

@@ -37,7 +37,6 @@ namespace dsr {
 
 
 	// Calculates the largest power of two allocation size that does not overflow a pointer on the target platform.
 	// Calculates the largest power of two allocation size that does not overflow a pointer on the target platform.
 	constexpr int calculateBinCount() {
 	constexpr int calculateBinCount() {
-		int largestBinIndex = 0;
 		intptr_t p = 0;
 		intptr_t p = 0;
 		while (true) {
 		while (true) {
 			uintptr_t result = ((uintptr_t)1 << p) * heapAlignment;
 			uintptr_t result = ((uintptr_t)1 << p) * heapAlignment;