From 44bf619d328827ce5eca6833fcd5c69f1592e578 Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 15 Aug 2019 02:34:17 -0700 Subject: 10703 smatch unreachable code checking needs reworking Reviewed by: Toomas Soome Reviewed by: Yuri Pankov Approved by: Dan McDonald --- usr/src/cmd/cxgbetool/cxgbetool.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr/src/cmd/cxgbetool') diff --git a/usr/src/cmd/cxgbetool/cxgbetool.c b/usr/src/cmd/cxgbetool/cxgbetool.c index d45e843202..ff5c01427a 100644 --- a/usr/src/cmd/cxgbetool/cxgbetool.c +++ b/usr/src/cmd/cxgbetool/cxgbetool.c @@ -13,6 +13,10 @@ * Copyright (c) 2018 by Chelsio Communications, Inc. */ +/* + * Copyright 2019 Joyent, Inc. + */ + #include #include #include @@ -85,7 +89,7 @@ static void usage(FILE *fp) exit(fp == stderr ? 1 : 0); } -static void +__NORETURN static void err(int code, const char *fmt, ...) { va_list ap; -- cgit v1.2.3