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

@@ -35,7 +35,7 @@ relevant(Now, Rule=#rule{from=F, to=T}) ->
end.
relevant2(Now, Rule=#rule{in=Month, on=Day, at=Time}) ->
relevant2(Now, #rule{in=Month, on=Day, at=Time}) ->
{{Y,_,_},_} = Now,
RTime= {{Y, Month, Day}, Time},
ezic_date:compare_datetimes(RTime, Now).