dim 49ba8ceb19 Fix two clang 3.6.0 warnings in usr.sbin/syslogd:
usr.sbin/syslogd/syslogd.c:1023:10: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                    f->f_prevline && !strcmp(msg, f->f_prevline) &&
                    ~~~^~~~~~~~~~
usr.sbin/syslogd/syslogd.c:1178:16: error: address of array 'f->f_prevline' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
        } else if (f->f_prevline) {
               ~~  ~~~^~~~~~~~~~

In both cases, the f_prevline field of struct filed is a char array, so
it can never be null.  Remove the checks.

Reviewed by:	jilles
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D1716
2015-02-05 22:28:00 +00:00
..
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-07-17 06:57:26 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2015-01-29 22:49:30 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-09-28 11:32:46 +00:00
2014-11-25 16:57:27 +00:00
2015-01-14 11:26:03 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2015-01-28 21:08:09 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-29 13:50:59 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-07-07 00:27:09 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-07-18 06:48:02 +00:00
2014-12-26 21:56:23 +00:00
2015-01-16 18:51:26 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2015-02-04 00:18:06 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2015-01-26 16:50:42 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-12-26 21:56:23 +00:00
2014-12-26 21:56:23 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2013-09-07 20:25:22 +00:00
2014-09-01 16:12:29 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2015-01-07 19:55:18 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-11-25 16:57:27 +00:00
2014-10-18 08:07:17 +00:00