kdbus: Remove unreachable code from kdbus_msg_examine 65/258665/1 accepted/tizen/unified/20210602.122622 submit/tizen/20210531.013858
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 18 May 2021 12:56:13 +0000 (14:56 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 21 May 2021 15:59:57 +0000 (17:59 +0200)
commitf6ec41e94cf25277dd66086f70e54cba0db9026a
tree69b342b2f5c2a19e6a476dfaa44df97f851a9ee0
parent45bec50b0fca601338e2e2673f5264f4cc7dc5b0
kdbus: Remove unreachable code from kdbus_msg_examine

This fixes an issue pointed out with SVACE warning:

* UNREACHABLE_CODE: This statement in the source code might be unreachable
  during program execution.
    [unreachable] unreachable at linux-rpi3/ipc/kdbus/message.c:346
    [vec_size > vec_size + size (0 > ANY) is always false] vec_size >
     vec_size + size (0 > ANY) is always false at linux-rpi3/ipc/kdbus/message.c:345

Change-Id: Ia5204bbaad863f88c470e198a081fe58ffb4f208
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
ipc/kdbus/message.c