CVS commit: [netbsd-10] src/external/bsd/tmux/usr.bin/tmux

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Thu Mar  5 11:10:25 UTC 2026

Modified Files:
	src/external/bsd/tmux/usr.bin/tmux [netbsd-10]: Makefile

Log Message:
Downgrade maybe-uninitialized to a warning for grid.c

Otherwise aarch64 builds fail with:

/home/source/ab/netbsd-10/src/external/bsd/tmux/dist/grid.c: In function 'grid_string_cells':
/home/source/ab/netbsd-10/src/external/bsd/tmux/dist/grid.c:1070:22: error: 'size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
 1070 |  size_t    len, off, size, codelen;
      |                      ^~~~

but the code always initializes size before first use.


To generate a diff of this commit:
cvs rdiff -u -r1.28.2.1 -r1.28.2.2 \
    src/external/bsd/tmux/usr.bin/tmux/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.