Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

error(335, 7): Variable "i" already defined in the scope (at line 332). #7

Closed
kotx opened this issue Jul 22, 2020 · 1 comment
Closed

Comments

@kotx
Copy link

kotx commented Jul 22, 2020

error(335, 7): Variable "i" already defined in the scope (at line 332).
gdunzip.gd line 335:

	func tinf_build_bits_base(target, delta, first):
		var i = 0
		var sum = first

		for i in range(0, delta):
			base_tables[target + '_bits'][i] = 0

		for i in range(0, 30 - delta):
			base_tables[target + '_bits'][i + delta] =  i / delta

		for i in range(0, 30):
			base_tables[target + '_base'][i] = sum
			sum += 1 << base_tables[target + '_bits'][i]```
@Ajver
Copy link
Contributor

Ajver commented Sep 18, 2020

#8 Fixes this issue

jellehermsen added a commit that referenced this issue Sep 18, 2020
Fixes #7 on Godot 3.2.2 by removing first definitions
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants