WINGs: fix duplicate if/else branch in W_LookupString
commitdb9f5c9658b5b97939fdb01407c2388cb99cc416
authorDavid Maciejak <david.maciejak@gmail.com>
Wed, 28 May 2014 05:21:22 +0000 (28 12:21 +0700)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 28 May 2014 15:04:02 +0000 (28 16:04 +0100)
treeb2a8a9ce1515ef6eb1e16630e7334f92fda154a1
parent5088b6755d1a296ad3899e01fe8095623f7ed660
WINGs: fix duplicate if/else branch in W_LookupString

cppcheck is reporting the msg below:

[../WINGs/winputmethod.c:215] -> [../WINGs/winputmethod.c:209]:
(style) Found duplicate branches for 'if' and 'else'.

The patch is fixing it by setting a default return call.
WINGs/winputmethod.c