-
-
usr/src/uts/common/io/cxgbe/common/t4_hw.c (Diff revision 1) Is this warning actually that the 0 is unused, since `execute' is reassigned later before its use as a function arg? Would it be more terse to just remove the assignment?
8733 cxgbe: variable 'execute' set but not used
Review Request #684 — Created Oct. 27, 2017 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
8733 | |
cbc2317... | |
Reviewers | |
general | |
../../../common/io/cxgbe/common/t4_hw.c:351:6: error: variable 'execute' set but not used [-Werror=unused-but-set-variable] u16 execute = 0; ^~~~~~~ cc1: all warnings being treated as errors
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+2 -4) |