Skip to content

Commit

Permalink
8714 sgs: '__*_msg' defined but not used
Browse files Browse the repository at this point in the history
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome authored and Dan McDonald committed Oct 26, 2017
1 parent 569c049 commit 4db8fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/cmd/sgs/tools/common/sgsmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ output_data(void)
else
fmtstr = (const char *)"const";

if (fprintf(fddata, "\n%s char __%s[%ld] = { ",
if (fprintf(fddata, "\n%s char __%s[%ld] __attribute__((unused)) = { ",
fmtstr, interface, stbufsize) < 0) {
(void) fprintf(stderr, Errmsg_wrte, fldata, strerror(errno));
return (1);
Expand Down

0 comments on commit 4db8fe4

Please sign in to comment.