Commit 33ee434
committed
drivers: hv: dxgkrnl: Add body to macro to silence warnings
If `DXG_TRACE` is configured to be empty and is used from a conditional
like
if (foo)
DXG_TRACE("message");
Having no body in the macro causes the if statement to have no body,
which raises a warning. Silence this warning by providing `DXG_TRACE`
with a no-op body under the appropriate configuration.
Signed-off-by: Mitchell Levy <levymitchell0@gmail.com>1 parent c37d181 commit 33ee434
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
| 1031 | + | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| |||
0 commit comments