Justin Hibbits e4803b1c14 Fix uninitialized warning, and work around a bug in gcc over clobbering
Summary:
r329077 caused gcc to emit uninitialized use warnings.  Attempting to
fix those warnings yielded the following warnings:

usr.bin/tftp/main.c: In function 'main':
usr.bin/tftp/main.c:181: warning: variable 'el' might be clobbered by
'longjmp' or 'vfork'
usr.bin/tftp/main.c:182: warning: variable 'hist' might be clobbered by
'longjmp' or 'vfork'

This is a known bug in gcc, found at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24239

Work around that by simply marking hist and el as static.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D14302
2018-02-10 17:17:15 +00:00
..
2018-01-29 14:15:44 +00:00
2018-01-24 14:24:17 +00:00
2017-12-01 21:44:23 +00:00
2017-12-03 02:23:29 +00:00
2017-12-12 06:56:21 +00:00
2017-11-29 09:18:24 +00:00
2017-12-06 17:50:10 +00:00
2017-12-31 00:35:11 +00:00
2018-01-06 15:52:28 +00:00
2017-12-28 05:33:49 +00:00
2018-01-30 09:59:52 +00:00
2017-12-01 03:22:40 +00:00
2018-02-07 20:36:37 +00:00
2017-12-05 07:11:56 +00:00
2017-12-07 22:19:08 +00:00
2017-12-28 05:33:39 +00:00
2017-12-06 02:47:46 +00:00
2017-12-06 02:47:46 +00:00