projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang: Fixes of warning and nasty bugs
[simavr]
/
tests
/
tests.c
diff --git
a/tests/tests.c
b/tests/tests.c
index
f389f4d
..
d502fde
100644
(file)
--- a/
tests/tests.c
+++ b/
tests/tests.c
@@
-38,6
+38,7
@@
static avr_cycle_count_t
cycle_timer_longjmp_cb(struct avr_t *avr, avr_cycle_count_t when, void *param) {
jmp_buf *jmp = param;
longjmp(*jmp, LJR_CYCLE_TIMER);
+ return 0; // clear warning
}
static jmp_buf *special_deinit_jmpbuf = NULL;