Commit bc545c26 authored by François Grisez's avatar François Grisez

workaround to avoid gcc>=4.9.x to do bad optimization

parent 869aff4a
......@@ -2532,7 +2532,7 @@ int msg_header_prepend(msg_t *msg,
msg_header_t **
msg_hclass_offset(msg_mclass_t const *mc, msg_pub_t const *mo, msg_hclass_t *hc)
{
int i;
volatile int i; // workaround to avoid bad optimization of gcc>=4.9.x
assert(mc && hc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment