diff options
| author | John Levon <john.levon@joyent.com> | 2019-08-15 02:34:17 -0700 |
|---|---|---|
| committer | John Levon <john.levon@joyent.com> | 2019-08-21 00:48:36 -0700 |
| commit | 44bf619d328827ce5eca6833fcd5c69f1592e578 (patch) | |
| tree | 9ad4659713906427323f35a72759a16fbc94762d /usr/src/cmd/cxgbetool | |
| parent | a99cb9618990662acbd3bab1b4a5b05a6ca62556 (diff) | |
| download | illumos-joyent-44bf619d328827ce5eca6833fcd5c69f1592e578.tar.gz | |
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/cxgbetool')
| -rw-r--r-- | usr/src/cmd/cxgbetool/cxgbetool.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -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; |
