[mapserver-commits] [MapServer/MapServer] c6d1d9: textlayout.c: remove unused variable

Even Rouault noreply at github.com
Wed Mar 15 13:33:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: c6d1d998574578b37b05e46667b55c20e6d9b65d
      https://github.com/MapServer/MapServer/commit/c6d1d998574578b37b05e46667b55c20e6d9b65d
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M textlayout.c

  Log Message:
  -----------
  textlayout.c: remove unused variable


  Commit: 47f854a0e730f950c1326b21f92f8c20c5127bff
      https://github.com/MapServer/MapServer/commit/47f854a0e730f950c1326b21f92f8c20c5127bff
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapagg.cpp

  Log Message:
  -----------
  mapagg: avoid warning about always false condition (and limit allocation to 2 GB on 32-bit)


  Commit: dd9c23726dd235a11b567d5af3798608fc262695
      https://github.com/MapServer/MapServer/commit/dd9c23726dd235a11b567d5af3798608fc262695
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapchart.c

  Log Message:
  -----------
  mapchart.c: remove unused variable


  Commit: 49d8e8ce9834e8a0c0d45de0b0dac3dc6b507c7c
      https://github.com/MapServer/MapServer/commit/49d8e8ce9834e8a0c0d45de0b0dac3dc6b507c7c
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapdrawgdal.c

  Log Message:
  -----------
  remove always false condition, and improve initialization of variable


  Commit: 7d609c13b0e480b31ba775ee1e66d0894c8a45f2
      https://github.com/MapServer/MapServer/commit/7d609c13b0e480b31ba775ee1e66d0894c8a45f2
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapfile.c

  Log Message:
  -----------
  mapfile.c: remove unused variable


  Commit: be7d9a86b211b1df0c62c90e6a24be507a6ca14e
      https://github.com/MapServer/MapServer/commit/be7d9a86b211b1df0c62c90e6a24be507a6ca14e
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapimageio.c

  Log Message:
  -----------
  mapimageio.c: fix memleak in error code path


  Commit: 474d8ffcdff1cfa15cda78ae19acb96c558b9877
      https://github.com/MapServer/MapServer/commit/474d8ffcdff1cfa15cda78ae19acb96c558b9877
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapmetadata.c

  Log Message:
  -----------
  mapmetadata: declare and initialize variables in same statement


  Commit: e79f9779d19ff7ebb4d4e54270c94c4b6cc95b18
      https://github.com/MapServer/MapServer/commit/e79f9779d19ff7ebb4d4e54270c94c4b6cc95b18
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapows.c

  Log Message:
  -----------
  mapows.c: remove always true test


  Commit: cf0f995c1dbb686772585a2aaef50fdd2862946c
      https://github.com/MapServer/MapServer/commit/cf0f995c1dbb686772585a2aaef50fdd2862946c
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapowscommon.c

  Log Message:
  -----------
  mapowscommon: declare and initialize variables in same statement


  Commit: 63efdd1a0424ea43bd66e9f0495a5f43c4d65796
      https://github.com/MapServer/MapServer/commit/63efdd1a0424ea43bd66e9f0495a5f43c4d65796
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapproject.c

  Log Message:
  -----------
  mapproject.c: silence false positive cppcheck warning


  Commit: 26bf7f8c7cb185e35c23f7dbd225e3869d214b8d
      https://github.com/MapServer/MapServer/commit/26bf7f8c7cb185e35c23f7dbd225e3869d214b8d
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapstring.cpp

  Log Message:
  -----------
  mapstring: avoid false positive cppcheck warning


  Commit: 75faa572c13973f9d23e7e87707596dc8c71cbb5
      https://github.com/MapServer/MapServer/commit/75faa572c13973f9d23e7e87707596dc8c71cbb5
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapwfslayer.c

  Log Message:
  -----------
  mapwfslayer: avoid useless variable assignment


  Commit: 17db70f6aec39924e29acc9ec5ab9c3044df9bfb
      https://github.com/MapServer/MapServer/commit/17db70f6aec39924e29acc9ec5ab9c3044df9bfb
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M mapagg.cpp
    M mapchart.c
    M mapdrawgdal.c
    M mapfile.c
    M mapimageio.c
    M mapmetadata.c
    M mapows.c
    M mapowscommon.c
    M mapproject.c
    M mapstring.cpp
    M mapwfslayer.c
    M textlayout.c

  Log Message:
  -----------
  Merge pull request #6844 from rouault/cppcheck_fixes

Cppcheck fixes


Compare: https://github.com/MapServer/MapServer/compare/029b7a8775f1...17db70f6aec3


More information about the MapServer-commits mailing list