diff options
| author | Jack Nagel | 2014-06-11 21:34:06 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-11 21:34:09 -0500 | 
| commit | 626da706e7885a32f352131643806d0e2e09526b (patch) | |
| tree | 6d6475ab1b5fa6436083cb00e0568a58f15040da /Library/Homebrew/compilers.rb | |
| parent | 3d2a8e8520a1902871baf3746675bd02f5eab8d8 (diff) | |
| download | homebrew-626da706e7885a32f352131643806d0e2e09526b.tar.bz2 | |
Eliminate an uninitialized ivar warning
Diffstat (limited to 'Library/Homebrew/compilers.rb')
| -rw-r--r-- | Library/Homebrew/compilers.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 7afa7a12e..27da77d9b 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -65,7 +65,8 @@ class CompilerFailure        # so fails_with :gcc => '4.8' simply marks all 4.8 releases incompatible        @version ||= @major_version + '.999'      else -      @version = (@version || 9999).to_i +      @version ||= 9999 +      @version = @version.to_i      end    end | 
