sync/gen_actions.ysl2
branchsync
changeset 2903 33549a7c7191
parent 2902 5692b0768f9e
child 2904 de437ca2e367
     1.1 --- a/sync/gen_actions.ysl2	Wed Aug 29 21:40:59 2018 +0200
     1.2 +++ b/sync/gen_actions.ysl2	Wed Aug 29 21:49:28 2018 +0200
     1.3 @@ -37,6 +37,12 @@
     1.4  
     1.5              static bool _TID_greater(TID_t *t1, TID_t *t2)
     1.6              {
     1.7 +                assert(t1 && t2);
     1.8 +                if (t1 && !t2)
     1.9 +                    return true;
    1.10 +                if (!t1)
    1.11 +                    return false;
    1.12 +
    1.13                  if (t1->size > t2->size)
    1.14                      return true;
    1.15