Module Name: src Committed By: kre Date: Wed Nov 13 00:19:46 UTC 2019
Modified Files: src/external/bsd/tmux/dist: tty-keys.c Log Message: Appease gcc. Init "terminator". It is plainly obvious that the init value cannot be used (the var was never used uninit'd - could not be) but gcc apparently cannot work that out. Revert this if we ever get a compiler with a brain. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/bsd/tmux/dist/tty-keys.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/tmux/dist/tty-keys.c diff -u src/external/bsd/tmux/dist/tty-keys.c:1.11 src/external/bsd/tmux/dist/tty-keys.c:1.12 --- src/external/bsd/tmux/dist/tty-keys.c:1.11 Tue Nov 12 21:02:28 2019 +++ src/external/bsd/tmux/dist/tty-keys.c Wed Nov 13 00:19:46 2019 @@ -931,6 +931,7 @@ tty_keys_clipboard(__unused struct tty * return (1); /* Find the terminator if any. */ + terminator = 0; /* XXX: appease gcc (this value is never used) */ for (end = 5; end < len; end++) { if (buf[end] == '\007') { terminator = 1;