1. 17 12月, 2019 8 次提交
  2. 09 12月, 2019 1 次提交
  3. 26 11月, 2019 1 次提交
  4. 22 11月, 2019 4 次提交
  5. 15 11月, 2019 1 次提交
  6. 12 11月, 2019 2 次提交
  7. 07 11月, 2019 1 次提交
  8. 25 10月, 2019 1 次提交
  9. 24 10月, 2019 1 次提交
    • M
      Drop needless ret variable · 3b4df5d3
      Michal Privoznik 提交于
      In few places we have the following code pattern:
      
        int ret;
        ... /* @ret is not accessed here */
        ret = f(...);
        return ret;
      
      This pattern can be written less verbose:
      
        ...
        return f(...);
      
      This patch was generated with following coccinelle spatch:
      
        @@
        type T;
        constant C;
        expression f;
        identifier ret;
        @@
        -T ret = C;
         ... when != ret
        -ret = f;
        -return ret;
        +return f;
      
      Afterwards I needed to fix a few places, e.g. comment in
      virDomainNetIPParseXML() was removed too because coccinelle
      thinks it refers to @ret while in fact it doesn't. Also in few
      places it replaced @ret declaration with a few spaces instead of
      removing the line. But nothing terribly wrong.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
      3b4df5d3
  10. 23 10月, 2019 1 次提交
  11. 21 10月, 2019 1 次提交
  12. 18 10月, 2019 1 次提交
  13. 17 10月, 2019 1 次提交
  14. 16 10月, 2019 6 次提交
  15. 15 10月, 2019 3 次提交
  16. 14 10月, 2019 1 次提交
  17. 10 10月, 2019 2 次提交
  18. 02 10月, 2019 1 次提交
  19. 30 9月, 2019 1 次提交
  20. 25 9月, 2019 2 次提交