WUtil: remove unnecessary check in wstrappend (Coverity #50138)
commit5255c364b8404a05916069c584cb94d06b8e52a5
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 17 May 2014 22:56:39 +0000 (18 00:56 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 18 May 2014 22:00:16 +0000 (18 23:00 +0100)
treea1a1c5d0be223fda1bb063822b89f99bf53ea3f5
parent05f88d0aa7db556d3e4f89cb3f4cd96cd9a46730
WUtil: remove unnecessary check in wstrappend (Coverity #50138)

The function wrealloc never fails, and allocates enough storage to store
the resulting string, so it is useless to check if strcat failed.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/string.c