[GRASS-git] [OSGeo/grass] 1c358b: Convert literal to mutable string (#1248)
nilason
noreply at github.com
Tue Feb 2 06:20:02 PST 2021
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 1c358bc5408bbc90018ac40a56f457477f0a9d74
https://github.com/OSGeo/grass/commit/1c358bc5408bbc90018ac40a56f457477f0a9d74
Author: nilason <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M raster/r.viewshed/main.cpp
Log Message:
-----------
Convert literal to mutable string (#1248)
as Option->answer is declared as as "char *".
Addresses -Wc++11-compat-deprecated-writable-strings compiler warnings.
Commit: 7b1c476f6b3a73380df4268b6c5eacf3a9a05019
https://github.com/OSGeo/grass/commit/7b1c476f6b3a73380df4268b6c5eacf3a9a05019
Author: nilason <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M raster/r.surf.idw/ll.c
Log Message:
-----------
Add explicit braces to avoid dangling "else" (#1248)
Addresses -Wdangling-else compiler warning.
Commit: 8aab74cc179c79af35c6fab0266907bbefefa9ef
https://github.com/OSGeo/grass/commit/8aab74cc179c79af35c6fab0266907bbefefa9ef
Author: nilason <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M imagery/i.aster.toar/main.c
Log Message:
-----------
i.aster.toar: Fix loop indexing
to respect array bounds: avoid call to array index, which is past the
end of the array. (#1248)
Addresses -Warray-bounds compiler warnings.
Co-authored-by: Markus Metz <markus.metz.giswork at gmail.com>
Co-authored-by: Huidae Cho <grass4u at gmail.com>
Commit: 313581cfe4ad104460b60c17e982dcffd6026bc1
https://github.com/OSGeo/grass/commit/313581cfe4ad104460b60c17e982dcffd6026bc1
Author: nilason <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M imagery/i.evapo.time/main.c
Log Message:
-----------
i.evapo.time: Fix loop indexing
to respect array bounds: avoid call to array index, which is past the
end of the array. (#1248)
Addresses -Warray-bounds compiler warnings.
Commit: 6146f0566deb3a6cb5ec02c31b7d36a36febd6b3
https://github.com/OSGeo/grass/commit/6146f0566deb3a6cb5ec02c31b7d36a36febd6b3
Author: nila <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M lib/gmath/blas_level_1.c
M lib/imagery/iscatt_core.c
M lib/raster3d/test/test_put_get_value_large_file.c
M lib/vector/neta/bridge.c
M lib/vector/neta/flow.c
M lib/vector/neta/path.c
M raster/r.grow.distance/main.c
M raster/r.latlong/main.c
M vector/v.generalize/network.c
M vector/v.label.sa/labels.c
M vector/v.patch/main.c
Log Message:
-----------
Use correct absolute value function
according to given argument type. (#1248)
Addresses -Wabsolute-value compiler warnings.
Commit: a36d34efe11efa2c286e8ebd59c162354557572f
https://github.com/OSGeo/grass/commit/a36d34efe11efa2c286e8ebd59c162354557572f
Author: nila <n_larsson at yahoo.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)
Changed paths:
M raster/r.stream.extract/streams.c
Log Message:
-----------
r.stream.extract: remove unneeded condition
for setting main drainage direction to A* path if possible. (#1248)
Co-authored-by: Markus Metz <markus.metz.giswork at gmail.com>
Compare: https://github.com/OSGeo/grass/compare/4140ebd60742...a36d34efe11e
More information about the grass-commit
mailing list