[GRASS-git] [OSGeo/grass] 7d6ff5: Fix '-Wunused-parameter' compiler warnings (#2770)
Nicklas Larsson
noreply at github.com
Sun Feb 12 06:52:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 7d6ff54e985c1579e11b74c230cb8fa68a9aa928
https://github.com/OSGeo/grass/commit/7d6ff54e985c1579e11b74c230cb8fa68a9aa928
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2023-02-12 (Sun, 12 Feb 2023)
Changed paths:
M .github/workflows/gcc.yml
M .github/workflows/macos_install.sh
M db/drivers/dbf/dbfexe.c
M db/drivers/dbf/driver.c
M db/drivers/dbf/listtab.c
M db/drivers/ogr/driver.c
M db/drivers/ogr/listtab.c
M db/drivers/postgres/db.c
M db/drivers/postgres/driver.c
M db/drivers/sqlite/driver.c
M db/drivers/sqlite/main.c
M display/d.path/select.c
M display/d.rhumbline/plot.c
M display/d.vect.thematic/area.c
M display/d.vect.thematic/display.c
M display/d.vect.thematic/plot1.c
M general/g.findfile/element.c
M general/g.findfile/local_proto.h
M imagery/i.eb.netrad/r_net.c
M imagery/i.evapo.mh/mh_original.c
M imagery/i.evapo.pm/functions.c
M imagery/i.gensig/alloc.c
M imagery/i.ortho.photo/lib/cam_info.c
M imagery/i.ortho.photo/lib/orthoref.c
M imagery/i.segment/watershed.c
M include/grass/defs/gis.h
M include/grass/gis.h
M include/grass/iostream/embuffer.h
M include/grass/iostream/empq.h
M include/grass/iostream/empq_adaptive.h
M lib/calc/calc.c
M lib/calc/xif.c
M lib/cdhc/test.c
M lib/db/dbmi_driver/d_mkdir.c
M lib/db/stubs/add_col.c
M lib/db/stubs/bindupdate.c
M lib/db/stubs/close_cursor.c
M lib/db/stubs/create_index.c
M lib/db/stubs/create_table.c
M lib/db/stubs/createdb.c
M lib/db/stubs/delete.c
M lib/db/stubs/deletedb.c
M lib/db/stubs/desc_table.c
M lib/db/stubs/drop_col.c
M lib/db/stubs/drop_index.c
M lib/db/stubs/drop_table.c
M lib/db/stubs/execute.c
M lib/db/stubs/fetch.c
M lib/db/stubs/finddb.c
M lib/db/stubs/init.c
M lib/db/stubs/insert.c
M lib/db/stubs/list_index.c
M lib/db/stubs/list_tables.c
M lib/db/stubs/listdb.c
M lib/db/stubs/open_insert.c
M lib/db/stubs/open_select.c
M lib/db/stubs/open_update.c
M lib/db/stubs/opendb.c
M lib/db/stubs/priv.c
M lib/db/stubs/rows.c
M lib/db/stubs/update.c
M lib/display/r_raster.c
M lib/driver/text3.c
M lib/gis/get_window.c
M lib/gis/locale.c
M lib/gis/rd_cellhd.c
M lib/gis/view.c
M lib/gis/wind_limits.c
M lib/gis/worker.c
M lib/gmath/solvers_direct.c
M lib/gpde/n_les_assemble.c
M lib/lidar/zones.c
M lib/nviz/change_view.c
M lib/nviz/cplanes_obj.c
M lib/nviz/lights.c
M lib/nviz/position.c
M lib/nviz/render.c
M lib/ogsf/gk.c
M lib/ogsf/gpd.c
M lib/ogsf/gs3.c
M lib/ogsf/gsd_cplane.c
M lib/ogsf/gsd_objs.c
M lib/ogsf/gsd_prim.c
M lib/ogsf/gsd_surf.c
M lib/ogsf/gsd_wire.c
M lib/ogsf/gsdrape.c
M lib/ogsf/gvld.c
M lib/pngdriver/raster.c
M lib/raster/get_cellhd.c
M lib/raster/get_row.c
M lib/raster/init.c
M lib/raster/put_row.c
M lib/raster3d/cache1.c
M lib/raster3d/error.c
M lib/raster3d/range.c
M lib/raster3d/tilewrite.c
M lib/rst/interp_float/interp2d.c
M lib/rst/interp_float/output2d.c
M lib/rst/interp_float/resout2d.c
M lib/stats/c_ave.c
M lib/stats/c_count.c
M lib/stats/c_divr.c
M lib/stats/c_intr.c
M lib/stats/c_kurt.c
M lib/stats/c_max.c
M lib/stats/c_maxx.c
M lib/stats/c_median.c
M lib/stats/c_min.c
M lib/stats/c_minx.c
M lib/stats/c_mode.c
M lib/stats/c_percentile.c
M lib/stats/c_range.c
M lib/stats/c_reg.c
M lib/stats/c_skew.c
M lib/stats/c_sum.c
M lib/stats/c_var.c
M lib/vector/Vlib/break_polygons.c
M lib/vector/Vlib/build.c
M lib/vector/Vlib/build_pg.c
M lib/vector/Vlib/close.c
M lib/vector/Vlib/close_pg.c
M lib/vector/Vlib/copy.c
M lib/vector/Vlib/field.c
M lib/vector/Vlib/graph.c
M lib/vector/Vlib/handler.c
M lib/vector/Vlib/header.c
M lib/vector/Vlib/intersect.c
M lib/vector/Vlib/net_analyze.c
M lib/vector/Vlib/net_build.c
M lib/vector/Vlib/open.c
M lib/vector/Vlib/open_pg.c
M lib/vector/Vlib/overlay.c
M lib/vector/Vlib/read_pg.c
M lib/vector/Vlib/rewind.c
M lib/vector/Vlib/rtree_search.c
M lib/vector/Vlib/select.c
M lib/vector/Vlib/simple_features.c
M lib/vector/Vlib/snap.c
M lib/vector/Vlib/tin.c
M lib/vector/Vlib/write.c
M lib/vector/Vlib/write_pg.c
M lib/vector/dglib/edgemgmt-template.c
M lib/vector/dglib/graph.c
M lib/vector/dglib/misc-template.c
M lib/vector/dglib/nodemgmt-template.c
M lib/vector/dglib/sp-template.c
M lib/vector/dglib/span-template.c
M lib/vector/dglib/tree.c
M lib/vector/diglib/frmt.c
M lib/vector/diglib/spindex.c
M lib/vector/neta/flow.c
M lib/vector/neta/timetables.c
M lib/vector/vedit/break.c
M lib/vector/vedit/extend.c
M lib/vector/vedit/select.c
M misc/m.nviz.image/volume.c
M misc/m.nviz.script/main.c
M raster/r.buildvrt/link.c
M raster/r.fill.dir/filldir.c
M raster/r.fill.dir/resolve.c
M raster/r.fill.stats/main.c
M raster/r.in.ascii/gethead.c
M raster/r.in.pdal/grasslidarfilter.h
M raster/r.in.pdal/info.h
M raster/r.in.pdal/main.cpp
M raster/r.li/r.li.cwed/cwed.c
M raster/r.li/r.li.daemon/daemon.c
M raster/r.li/r.li.dominance/dominance.c
M raster/r.li/r.li.mpa/mpa.c
M raster/r.li/r.li.mps/mps.c
M raster/r.li/r.li.padcv/padcv.c
M raster/r.li/r.li.padrange/padrange.c
M raster/r.li/r.li.padsd/padsd.c
M raster/r.li/r.li.patchdensity/main.c
M raster/r.li/r.li.patchnum/main.c
M raster/r.li/r.li.pielou/pielou.c
M raster/r.li/r.li.richness/richness.c
M raster/r.li/r.li.shannon/shannon.c
M raster/r.li/r.li.shape/main.c
M raster/r.li/r.li.simpson/simpson.c
M raster/r.mapcalc/evaluate.c
M raster/r.mapcalc/map.c
M raster/r.mapcalc/map3.c
M raster/r.mfilter/getrow.c
M raster/r.out.mpeg/write.c
M raster/r.out.vrml/put_view.c
M raster/r.out.vtk/writeascii.c
M raster/r.param.scale/nrutil.c
M raster/r.random.surface/makepp.c
M raster/r.resamp.bspline/resamp.c
M raster/r.sim/simlib/output.c
M raster/r.stream.extract/seg.c
M raster/r.sun/rsunlib.c
M raster/r.terraflow/fill.cpp
M raster/r.terraflow/filldepr.cpp
M raster/r.terraflow/nodata.cpp
M raster/r.terraflow/plateau.cpp
M raster/r.terraflow/water.cpp
M raster/r.terraflow/weightWindow.cpp
M raster/r.to.vect/areas.c
M raster/r.to.vect/areas_io.c
M raster/r.to.vect/lines_io.c
M raster/r.to.vect/points.c
M raster/r.viewshed/distribute.cpp
M raster/r.viewshed/statusstructure.cpp
M raster/r.watershed/ram/over_cells.c
M raster/r.watershed/seg/over_cells.c
M raster3d/r3.in.v5d/main.c
M raster3d/r3.in.v5d/v5d.c
M raster3d/r3.mkdspf/iso_surface.c
M raster3d/r3.mkdspf/r3_data.c
M raster3d/r3.out.v5d/main.c
M raster3d/r3.out.v5d/v5d.c
M raster3d/r3.out.vtk/writeVTKHead.c
M vector/v.clean/split.c
M vector/v.decimate/grid_decimation.c
M vector/v.decimate/main.c
M vector/v.delaunay/in_out.c
M vector/v.in.dxf/make_arc.c
M vector/v.in.dxf/write_vect.c
M vector/v.in.pdal/main.cpp
M vector/v.kernel/main.c
M vector/v.label.sa/annealing.c
M vector/v.label.sa/labels.c
M vector/v.lidar.correction/correction.c
M vector/v.lidar.growing/ConvexHull.c
M vector/v.lidar.growing/growing.c
M vector/v.net.visibility/data_structures.c
M vector/v.net.visibility/visibility.c
M vector/v.out.vtk/writeVTK.c
M vector/v.reclass/reclass.c
M vector/v.rectify/cp.c
M vector/v.rectify/orthorot.c
M vector/v.surf.bspline/resamp.c
M vector/v.vol.rst/user3.c
M visualization/ximgview/main.c
Log Message:
-----------
Fix '-Wunused-parameter' compiler warnings (#2770)
The absolute majority of the "-Wunused-parameter" compiler warnings are addressed by adding
__attribute__((unused)) with the macro 'UNUSED'.
More information about the grass-commit
mailing list