Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
@@ -22,10 +22,14 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <stdarg.h>
@@ -33,11 +37,10 @@
sunFm_vpanic(const char *format, va_list ap)
{
(void) snmp_vlog(LOG_ERR, format, ap);
#ifdef DEBUG
abort();
- exit(1);
#endif
}
void
sunFm_panic(const char *format, ...)