8714 sgs: '__*_msg' defined but not used
Review Request #671 - Created Oct. 13, 2017 and submitted
| Information | |
|---|---|
| Toomas Soome | |
| illumos-gate | |
| 8714 | |
| ff903b6... | |
| Reviewers | |
| general | |
XXX_msg.c generation should annotate with unused attribute
syminfo_msg.c:115:19: error: '__syminfo_msg' defined but not used [-Werror=unused-const-variable=]
static const char __syminfo_msg[3771] = {
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
-
usr/src/cmd/sgs/tools/common/sgsmsg.c (Diff revision 1) -
Is there any reason we may want to do the
_unusedthing and include the header, instead?If not, looks good
Ship It!
