WINGs: Removed checks for code that can't fail
commit51ad8b7dc1e9299c58675b650ccb17ab625fa0f2
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 9 May 2014 19:29:09 +0000 (9 21:29 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 9 May 2014 19:42:34 +0000 (9 20:42 +0100)
treedc0922c5cf6b83befda43eb7ec4f148db43f495a
parent546c148ac0e834db43035e7aabc2afa26ee6103c
WINGs: Removed checks for code that can't fail

In the function 'wdefaultspathfordomain' there was a check to make sure the
generated path would fit in the allocated area, but this allocated area is
sized precisely to fit the path, so it cannot fail.

In the function 'getCurrentFileName' there were checks to make sure the
generated result string would fit in the allocated area, but this allocated
area is sized precisely to fit the path, so it cannot fail.

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