Index: Makefile =================================================================== --- Makefile (revision 332505) +++ Makefile (working copy) @@ -23,8 +23,9 @@ MAN= hastd.8 hast.conf.5 NO_WFORMAT= NO_WCAST_ALIGN= NO_WMISSING_VARIABLE_DECLARATIONS= +WARNS=1 CFLAGS+=-I${.CURDIR} -CFLAGS+=-DHAVE_CAPSICUM +CFLAGS+=-DHAVE_CAPSICUM -DNDEBUG CFLAGS+=-DPROTO_TCP_DEFAULT_PORT=8457 CFLAGS+=-DINET .if ${MK_INET6_SUPPORT} != "no" Index: pjdlog.c =================================================================== --- pjdlog.c (revision 332505) +++ pjdlog.c (working copy) @@ -612,5 +612,5 @@ pjdlog_abort(const char *func, const char *file, i failedexpr, func, file, line); } } - abort(); + //abort(); } Index: pjdlog.h =================================================================== --- pjdlog.h (revision 332505) +++ pjdlog.h (working copy) @@ -92,7 +92,7 @@ void pjdlog_exitx(int exitcode, const char *fmt, . void pjdlogv_exitx(int exitcode, const char *fmt, va_list ap) __printflike(2, 0) __dead2; void pjdlog_abort(const char *func, const char *file, int line, - const char *failedexpr, const char *fmt, ...) __printflike(5, 6) __dead2; + const char *failedexpr, const char *fmt, ...) __printflike(5, 6); #define PJDLOG_VERIFY(expr) do { \ if (!(expr)) { \ Index: proto_socketpair.c =================================================================== --- proto_socketpair.c (revision 332505) +++ proto_socketpair.c (working copy) @@ -183,6 +183,7 @@ sp_descriptor(const void *ctx) } PJDLOG_ABORT("Invalid socket side (%d).", spctx->sp_side); + return (-1); } static void