change: fix sequence-point warning

laumann
Jul 13, 2023, 8:54 PM
P5CSMRVSVJVOUGGWY7UVP4B3XXNLZDEQVXNL5XOPT2GGB63HXA4QC

Dependencies

  • [2] 5D2IYPL7 change: introduce changestore, print deleted lines
  • [3] Q7TKZCJP Add initial support for reading the offsets from a (fixed) change
  • [4] QYRJIOYP change: separate decoding and printing of hashed struct

Change contents

  • replacement in change.c at line 1087
    [2.8452][2.8452:8482]()
    x = 1;
    changestore.len = 1;
    [2.8452]
    [2.8482]
    changestore.len = x = 1;
  • replacement in change.c at line 1100
    [2.8786][2.8786:8822]()
    changestore.entries[x].num = ++x;
    [2.8786]
    [2.8822]
    changestore.entries[x].num = x + 1;
    x++;
  • replacement in change.c at line 1112
    [2.9090][2.9090:9126]()
    changestore.entries[x].num = ++x;
    [2.9090]
    [2.9126]
    changestore.entries[x].num = x + 1;
    x++;