projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5a859
)
Eliminate 'struct member os_callback is never used' cppcheck warning
author
Ivan Maidanski
<ivmai@mail.ru>
Wed, 29 May 2019 20:52:27 +0000
(23:52 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Wed, 29 May 2019 20:52:27 +0000
(23:52 +0300)
* os_dep.c [MPROTECT_VDB && DARWIN && CPPCHECK] (GC_dirty_init): Call
GC_noop1(GC_ports.os_callback[0]).
os_dep.c
patch
|
blob
|
history
diff --git
a/os_dep.c
b/os_dep.c
index
8c64b01
..
224c5da
100644
(file)
--- a/
os_dep.c
+++ b/
os_dep.c
@@
-4200,6
+4200,9
@@
GC_INNER GC_bool GC_dirty_init(void)
}
}
# endif /* BROKEN_EXCEPTION_HANDLING */
+# if defined(CPPCHECK)
+ GC_noop1((word)GC_ports.os_callback[0]);
+# endif
return TRUE;
}