eliminated warnings. there were lots of unnecessary variables created in function parameters

This commit is contained in:
aj
2010-11-04 20:57:23 -07:00
parent 01ec22e351
commit 9ac6f0cc4a
7 changed files with 23 additions and 143 deletions

View File

@@ -20,7 +20,7 @@ sort(#zone{until=U1}, #zone{until=U2}) ->
revsort(Z1=#zone{}, Z2=#zone{}) ->
not sort(Z1, Z2).
older_zone(Zone=#zone{until=Until}, Now) ->
older_zone(#zone{until=Until}, Now) ->
ezic_date:compare_datetimes(Until, Now).