cleanup precompose_utf8
commit5f8580ad471ecd1745107b5ab1f9792e1d855743
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 17 Aug 2012 14:53:10 +0000 (17 16:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Aug 2012 17:29:56 +0000 (17 10:29 -0700)
tree8ca8ec0d4215abb706b702dd1bcde5ad2af08eda
parent76759c7dff53e8c84e975b88cb8245587c14c7ba
cleanup precompose_utf8

 - Remove extraneous parentheses and braces;

 - Remove redundant NUL-termination before strcpy();

 - Check result of unlink when probing for decomposed file names;

 - Adjust for the coding style by adding missing whitespaces;

 - Move storage class "static" at the beginning of the decl.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/precompose_utf8.c