Commit 7bd8dad
authored
Fix compiler warnings in example projects (#506)
### Motivation
A recent example project was added that had a compiler warning which
wasn't caught by CI. We can have our example code free of warnings and
ensure they remain so by compiling them with `-warnings-as-errors` in
CI.
On further investigation, we cannot enable `-warnings-as-errors` in the
examples Ci pipeline because we're reusing the shared build/cache
directories which produces its own warnings for left over unused
modules.
### Modifications
- Fix compiler warnings in example.
- ~Build with `-warnings-as-errors` in examples CI pipeline.~
### Result
Example projects compile without warnings.
### Test Plan
~CI updated.~1 parent 62dfe94 commit 7bd8dad
File tree
1 file changed
+1
-1
lines changed- Examples/event-streams-server-example/Sources/EventStreamsServer
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments