Skip to content

Commit

Permalink
- useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Oct 30, 2010
1 parent f3d7a43 commit 09fb314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/picky/query/allocation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def <=> other_allocation
# Transform the allocation into result form.
#
def to_result
[self.result_type, self.score, self.count, @combinations.to_result, self.ids] if count = self.count > 0
[self.result_type, self.score, self.count, @combinations.to_result, self.ids] if self.count > 0
end

# Json representation of this allocation.
Expand Down

0 comments on commit 09fb314

Please sign in to comment.