]> git.openstreetmap.org Git - rails.git/blobdiff - lib/gpx.rb
Remove unnessary init
[rails.git] / lib / gpx.rb
index 7c72c726fd93c89e92f82353e3eb53f73a620b42..0299f63b5c01c7a5f5d871ed6d67ec1ae7e8c480 100644 (file)
@@ -57,7 +57,7 @@ module GPX
 
       proj = OSM::Mercator.new(min_lat, min_lon, max_lat, max_lon, width, height)
 
-      frames = Array.new(nframes,  GD2::Image::IndexedColor.new(width, height))
+      frames = []
 
       (0..nframes - 1).each do |n|
         frames[n] = GD2::Image::IndexedColor.new(width, height)