Created attachment 208744 [details] patch Build fails with base GCC: cc1: warnings being treated as errors /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.10-master-28-g9b9a441/osc.c: In function 'plugin_data_capture_of_plot': /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.10-master-28-g9b9a441/osc.c:576: warning: 'markers_lock' may be used uninitialized in this function
Approved as mentor.
A commit references this bug: Author: pkubaj Date: Tue Nov 5 08:33:15 UTC 2019 New revision: 516779 URL: https://svnweb.freebsd.org/changeset/ports/516779 Log: misc/iio-oscilloscope: fix build on GCC architectures Build fails with base GCC: cc1: warnings being treated as errors /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.10-master-28-g9b9a441/osc.c: In function 'plugin_data_capture_of_plot': /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.10-master-28-g9b9a441/osc.c:576: warning: 'markers_lock' may be used uninitialized in this function PR: 241622 Approved by: yuri (maintainer), linimon (mentor) Changes: head/misc/iio-oscilloscope/files/ head/misc/iio-oscilloscope/files/patch-osc.c head/misc/iio-oscilloscope/files/patch-plugins_lidar.c