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

Instantiate $buf before loop to eliminate undefined variable warning #8

Merged
merged 1 commit into from
Jan 2, 2014

Conversation

tariq86
Copy link
Contributor

@tariq86 tariq86 commented Dec 31, 2013

As the title suggests: simply declare $buf before the while loop in order to avoid an undefined variable warning. Some configurations (like my local dev box) may be set to die on such warnings.

borisz added a commit that referenced this pull request Jan 2, 2014
Instantiate $buf before loop to eliminate undefined variable warning
@borisz borisz merged commit 80a5605 into maxmind:master Jan 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants