Fix non-TEST compilation errors

This commit is contained in:
Scott Lystig Fritchie 2014-11-08 15:01:03 +09:00
parent e0d4dce8af
commit 61d3aafccb

View file

@ -816,8 +816,10 @@ react_to_env_C310(P_newprop, S) ->
projection_transitions_are_sane(Ps, RelativeToServer) ->
projection_transitions_are_sane(Ps, RelativeToServer, false).
-ifdef(TEST).
projection_transitions_are_sane_retrospective(Ps, RelativeToServer) ->
projection_transitions_are_sane(Ps, RelativeToServer, true).
-endif. % TEST
projection_transitions_are_sane([], _RelativeToServer, _RetrospectiveP) ->
true;
@ -836,8 +838,10 @@ projection_transitions_are_sane([P1, P2|T], RelativeToServer, RetrospectiveP) ->
projection_transition_is_sane(P1, P2, RelativeToServer) ->
projection_transition_is_sane(P1, P2, RelativeToServer, false).
-ifdef(TEST).
projection_transition_is_sane_retrospective(P1, P2, RelativeToServer) ->
projection_transition_is_sane(P1, P2, RelativeToServer, true).
-endif. % TEST
projection_transition_is_sane(
#projection{epoch_number=Epoch1,