freebsd-nq/usr.bin/diff
Dimitry Andric 7ef35d05aa Fix the following warning from gcc 4.2 in usr.bin/diff:
usr.bin/diff/diffreg.c: In function 'change':
usr.bin/diff/diffreg.c:1085: warning: 'i' may be used uninitialized in this function

This version of gcc is not smart enough to see that 'i' cannot actually
be used unitialized.  However, the variable is confusingly re-used, so
it is better to give it another name, and clearly initialize it before
attempting to use it.

Reviewed by:	bapt
Differential Revision: https://reviews.freebsd.org/D10484
2017-04-24 20:34:56 +00:00
..
tests Implement a basic --changed-group-format 2017-04-20 14:22:33 +00:00
diff.1 Cross reference pr(1) which diff might call with -l option 2017-04-20 19:14:52 +00:00
diff.c Implement a basic --changed-group-format 2017-04-20 14:22:33 +00:00
diff.h Implement a basic --changed-group-format 2017-04-20 14:22:33 +00:00
diffdir.c Clean up headers declaration 2017-04-15 13:57:35 +00:00
diffreg.c Fix the following warning from gcc 4.2 in usr.bin/diff: 2017-04-24 20:34:56 +00:00
Makefile
TODO Update the TODO list to reflect what has been changed 2017-04-20 19:07:52 +00:00
xmalloc.c
xmalloc.h