core: fix compiler warnings

This commit is contained in:
Christian Helmuth
2017-05-02 16:55:08 +02:00
parent 01e8f7ea3d
commit f41d8d6b14
3 changed files with 7 additions and 7 deletions

View File

@ -242,8 +242,6 @@ static l4_msgtag_t copy_msgbuf_to_utcb(Msgbuf_base &snd_msg,
for (unsigned i = 0; i < num_caps; i++) {
Native_capability const &cap = snd_msg.cap(i);
/* store badge as normal message word */
*msg_words++ = caps[i].valid ? caps[i].badge : INVALID_BADGE;