Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Issue in FakeTimeService.c #1791

Open
FreekyFrank opened this issue May 8, 2024 · 0 comments
Open

Small Issue in FakeTimeService.c #1791

FreekyFrank opened this issue May 8, 2024 · 0 comments

Comments

@FreekyFrank
Copy link

Unless you were trying to test us all I guess the following represents a small finger issue!
Thanks for the great work
Frank

compiling FakeTimeService.c
tests/HomeAutomation/FakeTimeService.c: In function ‘FakeTimeService_MinuteIsUp’:
tests/HomeAutomation/FakeTimeService.c:48:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
48 | if (callback != NULL);
| ^~
tests/HomeAutomation/FakeTimeService.c:49:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
49 | callback();
| ^~~~~~~~
cc1: all warnings being treated as errors
make: *** [/home/fsmith/code/test-driven-development-for-embeded-c-james-w-grenning/cpputest/build/MakefileWorker.mk:564: objs/tests/HomeAutomation/FakeTimeService.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant